Uses of Interface
science.aist.gtf.graph.Vertex
-
-
Uses of Vertex in science.aist.gtf.graph
Subinterfaces of Vertex in science.aist.gtf.graph Modifier and Type Interface Description interface
VertexView<V,E>
Interface that allows to provide a different view on a vertex.Methods in science.aist.gtf.graph that return Vertex Modifier and Type Method Description Vertex<V,E>
Edge. getSource()
get the source of the edgeVertex<V,E>
GraphStateAccessor. getSource(Edge<V,E> edge)
Returns the source vertex for a given edgeVertex<V,E>
Edge. getTarget()
get the target of the edgeVertex<V,E>
GraphStateAccessor. getTarget(Edge<V,E> edge)
Returns the target vertex for a given edgeVertex<V,E>
VertexView. getViewedVertex()
Retrieves the viewed vertexMethods in science.aist.gtf.graph that return types with arguments of type Vertex Modifier and Type Method Description Collection<Vertex<V,E>>
Vertex. getAdjacentVertices()
vertex has a collection of edges, thus pointing to several other verticesCollection<Vertex<V,E>>
Graph. getVertices()
gets value of field verticesCollection<Vertex<V,E>>
GraphStateAccessor. getVertices()
returns a snapshot collection of the vertices in the graph statedefault Stream<Vertex<V,E>>
Graph. stream()
Creates a stream and streams the verticesMethods in science.aist.gtf.graph with parameters of type Vertex Modifier and Type Method Description void
GraphState. addEdge(Edge<V,E> edge, Vertex<V,E> source, Vertex<V,E> target)
Adds an edge between given source and target vertexvoid
GraphState. addVertex(Vertex<V,E> vertex)
Adds a vertex to the graph stateSet<Edge<V,E>>
GraphStateAccessor. getEdges(Vertex<V,E> vertex)
returns the edges for a given vertexMethod parameters in science.aist.gtf.graph with type arguments of type Vertex Modifier and Type Method Description void
Graph. setVertexTraversalStrategy(TraversalStrategy<Vertex<V,E>,Edge<V,E>> traversalStrategy)
Sets the traversal strategy -
Uses of Vertex in science.aist.gtf.graph.builder
Methods in science.aist.gtf.graph.builder that return Vertex Modifier and Type Method Description Vertex<V,E>
GraphBuilder. getOrAddVertex(V value)
Method to add a new vertex to the graph builder.Method parameters in science.aist.gtf.graph.builder with type arguments of type Vertex Modifier and Type Method Description GraphBuilder<V,E>
VertexBuilderWith. with(Consumer<Vertex<V,E>> callback)
Adds a callback method, that is called once the vertex is created. -
Uses of Vertex in science.aist.gtf.graph.builder.impl
Methods in science.aist.gtf.graph.builder.impl that return Vertex Modifier and Type Method Description Vertex<V,E>
GraphBuilderImpl. getOrAddVertex(V value)
-
Uses of Vertex in science.aist.gtf.graph.factory
Methods in science.aist.gtf.graph.factory that return Vertex Modifier and Type Method Description <T,E>
Vertex<T,E>DefaultGraphFactory. createVertex(T elem)
<V,E>
Vertex<V,E>GraphFactory. createVertex(V elem)
Returns a new instance of a vertex with elem as decorated valueMethods in science.aist.gtf.graph.factory with parameters of type Vertex Modifier and Type Method Description <V,E>
VertexView<V,E>DefaultGraphFactory. createVertexView(Vertex<V,E> viewedVertex)
<V,E>
VertexView<V,E>GraphFactory. createVertexView(Vertex<V,E> viewedVertex)
Returns a new instance of a Vertex view -
Uses of Vertex in science.aist.gtf.graph.impl
Classes in science.aist.gtf.graph.impl that implement Vertex Modifier and Type Class Description class
AbstractVertex<V,E>
Abstract base class to be used for different vertex implementation, that are based on a graph state.class
VertexImpl<V,E>
Implementation of a Vertexclass
VertexViewImpl<V,E>
This class is used to provide a view on a given vertex, this means, that it decorates an existing vertex but uses its own graph state which does only contain a view on the graph.Methods in science.aist.gtf.graph.impl that return Vertex Modifier and Type Method Description Vertex<V,E>
AbstractEdge. getSource()
Vertex<V,E>
GraphStateImpl. getSource(Edge<V,E> edge)
Vertex<V,E>
AbstractEdge. getTarget()
Vertex<V,E>
GraphStateImpl. getTarget(Edge<V,E> edge)
Methods in science.aist.gtf.graph.impl that return types with arguments of type Vertex Modifier and Type Method Description Collection<Vertex<V,E>>
AbstractVertex. getAdjacentVertices()
Collection<Vertex<V,E>>
GraphImpl. getVertices()
Collection<Vertex<V,E>>
GraphStateImpl. getVertices()
Iterator<Vertex<V,E>>
GraphImpl. iterator()
Iterates over all Vertices (depth first Search Strategy)static <V,E>
Collector<Vertex<V,E>,?,Graph<V,E>>GraphCollector. toGraph(BiPredicate<Vertex<V,E>,Vertex<V,E>> predicate)
Creates a collector, that allows to collect a stream of vertices and convert it into a graph.static <V,E>
Collector<Vertex<V,E>,?,Graph<V,E>>GraphCollector. toSubGraph()
Creates a subgraph for a given set of vertices, where the edge between the vertices in the stream are used.Methods in science.aist.gtf.graph.impl with parameters of type Vertex Modifier and Type Method Description void
GraphStateImpl. addEdge(Edge<V,E> edge, Vertex<V,E> source, Vertex<V,E> target)
void
GraphStateImpl. addVertex(Vertex<V,E> vertex)
Set<Edge<V,E>>
GraphStateImpl. getEdges(Vertex<V,E> vertex)
Method parameters in science.aist.gtf.graph.impl with type arguments of type Vertex Modifier and Type Method Description static <V,E>
Collector<Vertex<V,E>,?,Graph<V,E>>GraphCollector. toGraph(BiPredicate<Vertex<V,E>,Vertex<V,E>> predicate)
Creates a collector, that allows to collect a stream of vertices and convert it into a graph.static <V,E>
Collector<Vertex<V,E>,?,Graph<V,E>>GraphCollector. toGraph(BiPredicate<Vertex<V,E>,Vertex<V,E>> predicate)
Creates a collector, that allows to collect a stream of vertices and convert it into a graph. -
Uses of Vertex in science.aist.gtf.graph.impl.iterator
Methods in science.aist.gtf.graph.impl.iterator that return Vertex Modifier and Type Method Description Vertex<V,E>
DepthFirstSearchGraphIterator. next()
-
Uses of Vertex in science.aist.gtf.graph.impl.traversal
Method parameters in science.aist.gtf.graph.impl.traversal with type arguments of type Vertex Modifier and Type Method Description void
DepthFirstSearchTraversalStrategy. traverse(Visitor<Vertex<V,E>> visitor)
void
DepthFirstSearchTraversalStrategy. traverse(Visitor<Vertex<V,E>> visitor, Visitor<Edge<V,E>> edgeVisitor)
-
Uses of Vertex in science.aist.gtf.transformation.renderer
Methods in science.aist.gtf.transformation.renderer with parameters of type Vertex Modifier and Type Method Description Result
MultiGraphTransformationRenderer. mapProperties(Result result, Graph<SourceV,SourceE> sGraph, Vertex<SourceV,SourceE> currentElement)
No supported inMultiGraphTransformationRenderer
Result
MultiGraphTransformationRenderer. renderElement(Graph<SourceV,SourceE> container, Vertex<SourceV,SourceE> currentElement)
Executes the list of child renderer, and returns the result of the first one, that matchesConstructor parameters in science.aist.gtf.transformation.renderer with type arguments of type Vertex Constructor Description AbstractGraphTransformationRenderer(RendererCondition<Vertex<S,E>> rendererCondition)
AbstractGraphTransformationRenderer(RendererCondition<Vertex<S,E>> rendererCondition, Class<T> classT, Class<S> classS)
-