A B C D E F G H I L M N O P R S T U V

A

add(Position<B>) - Method in class ch.bfh.algo.core.position.PositionListAdapter
 
add(int, Position<B>) - Method in class ch.bfh.algo.core.position.PositionListAdapter
 
add(Position<B>) - Method in class ch.bfh.algo.core.position.PositionListIteratorAdapter
 
add(int, E) - Method in class ch.bfh.algo.core.sequence.GenericArraySequence
 
add(E) - Method in class ch.bfh.algo.core.sequence.LinkedElementIterator
 
add(Position<E>) - Method in class ch.bfh.algo.core.sequence.LinkedPositionIterator
 
addAll(Collection<? extends Position<B>>) - Method in class ch.bfh.algo.core.position.PositionListAdapter
 
addAll(int, Collection<? extends Position<B>>) - Method in class ch.bfh.algo.core.position.PositionListAdapter
 
addElement(E) - Method in class ch.bfh.algo.core.sequence.LinkedIterator
 
adjacentVertices(Position<?>, Direction) - Method in interface ch.bfh.algo.core.GenericGraph
 
adjacentVertices(Position<?>, Direction) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
adjacentVertices(PV, Direction) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
adjacentVertices(Direction) - Method in class ch.bfh.algo.core.graph.GenericVertex
 
adjacentVertices(Position<?>, Direction) - Method in interface ch.bfh.algo.Graph
Returns a list of the vertices adjacent to vertex.
after(Position<?>) - Method in interface ch.bfh.algo.core.GenericSequence
 
after(Position<?>) - Method in class ch.bfh.algo.core.sequence.GenericArraySequence
 
after(P) - Method in class ch.bfh.algo.core.sequence.GenericArraySequence
 
after(Position<?>) - Method in class ch.bfh.algo.core.sequence.GenericLinkedSequence
 
after(P) - Method in class ch.bfh.algo.core.sequence.GenericLinkedSequence
 
after(Position<?>) - Method in interface ch.bfh.algo.Sequence
returns the Position that is placed after position in the sequence
ArrayFactory<P> - Interface in ch.bfh.algo.core.sequence
 
ArrayPosition<E> - Class in ch.bfh.algo.sequence
 
ArrayPosition() - Constructor for class ch.bfh.algo.sequence.ArrayPosition
 
ArraySequence<E> - Class in ch.bfh.algo.sequence
 
ArraySequence(int, SequenceFactory<ArrayPosition<E>>) - Constructor for class ch.bfh.algo.sequence.ArraySequence
 
ArraySequence(SequenceFactory<ArrayPosition<E>>) - Constructor for class ch.bfh.algo.sequence.ArraySequence
 
ArraySequence(int) - Constructor for class ch.bfh.algo.sequence.ArraySequence
 
ArraySequence() - Constructor for class ch.bfh.algo.sequence.ArraySequence
 
ArraySequence(Collection<? extends E>) - Constructor for class ch.bfh.algo.sequence.ArraySequence
 
ArrayStrategy<P> - Interface in ch.bfh.algo.core.sequence
 
attach() - Method in class ch.bfh.algo.core.sequence.LinkedCursor
 
attachAfter(Observer) - Method in class ch.bfh.algo.core.sequence.GenericLinkedPosition
 
attachAfter(Observer) - Method in interface ch.bfh.algo.core.sequence.Observable
 
attachAfter(Observer) - Method in class ch.bfh.algo.core.sequence.ObserverPosition
 
attachBefore(Observer) - Method in class ch.bfh.algo.core.sequence.GenericLinkedPosition
 
attachBefore(Observer) - Method in interface ch.bfh.algo.core.sequence.Observable
 
attachBefore(Observer) - Method in class ch.bfh.algo.core.sequence.ObserverPosition
 
attachInDirected(GenericEdge<E, V, PE, PV>) - Method in class ch.bfh.algo.core.graph.GenericVertex
 
attachInUndirected(GenericEdge<E, V, PE, PV>) - Method in class ch.bfh.algo.core.graph.GenericVertex
 
attachOutDirected(GenericEdge<E, V, PE, PV>) - Method in class ch.bfh.algo.core.graph.GenericVertex
 
attachOutDirectedAfter(GenericEdge<E, V, PE, PV>, LinkedPosition<PE>) - Method in class ch.bfh.algo.core.graph.GenericVertex
 
attachOutDirectedBefore(GenericEdge<E, V, PE, PV>, LinkedPosition<PE>) - Method in class ch.bfh.algo.core.graph.GenericVertex
 
attachOutUndirected(GenericEdge<E, V, PE, PV>) - Method in class ch.bfh.algo.core.graph.GenericVertex
 
attachOutUndirectedAfter(GenericEdge<E, V, PE, PV>, LinkedPosition<PE>) - Method in class ch.bfh.algo.core.graph.GenericVertex
 
attachOutUndirectedBefore(GenericEdge<E, V, PE, PV>, LinkedPosition<PE>) - Method in class ch.bfh.algo.core.graph.GenericVertex
 

B

before(Position<?>) - Method in interface ch.bfh.algo.core.GenericSequence
 
before(Position<?>) - Method in class ch.bfh.algo.core.sequence.GenericArraySequence
 
before(P) - Method in class ch.bfh.algo.core.sequence.GenericArraySequence
 
before(Position<?>) - Method in class ch.bfh.algo.core.sequence.GenericLinkedSequence
 
before(P) - Method in class ch.bfh.algo.core.sequence.GenericLinkedSequence
 
before(Position<?>) - Method in interface ch.bfh.algo.Sequence
This method returns the position that is placed before the one given as argument in the sequence.
bfsTraversal(Graph<Integer, String>) - Static method in class ch.bfh.algo.example.GraphExample1
The bfsTraversal is an example (very primitive) of the possible implementation of a Breadth First Search traversal of a Graph
bfsTraversal(Graph<Integer, String>) - Static method in class ch.bfh.algo.example.GraphExample2
The bfsTraversal is an example of the possible implementation of a Breadth First Search traversal of a Graph.
BinaryForest<E> - Interface in ch.bfh.algo
The BinaryForest interface extends the Forest interface.
BinaryNode<E> - Class in ch.bfh.algo.forest
 
BinaryNode() - Constructor for class ch.bfh.algo.forest.BinaryNode
 
BoundaryViolationException - Exception in ch.bfh.algo
 
BoundaryViolationException() - Constructor for exception ch.bfh.algo.BoundaryViolationException
 
BoundaryViolationException(String) - Constructor for exception ch.bfh.algo.BoundaryViolationException
 
branchAllRoots(Forest<String>, String) - Static method in class ch.bfh.algo.example.TreeExample
This method creates a new node containing the value given as the root.
bubbleSortArrayLike(List<Integer>) - Static method in class ch.bfh.algo.example.SequencesSortExamples
The method bubbleSortArrayLike is a very simple Bubble Sort written for the Java Collection Framework.
bubbleSortExamples() - Static method in class ch.bfh.algo.example.SequencesSortExamples
This method bubbleSortExamples is used to run the two other methods: bubbleSortArrayLike and bubbleSortSequence.
bubbleSortSequence(Sequence<Integer>) - Static method in class ch.bfh.algo.example.SequencesSortExamples
This Bubble sort algorithm has been implemented using a Sequence.

C

cast(Position<?>) - Method in interface ch.bfh.algo.sequence.SequenceFactory
 
castEdge(Position<?>) - Method in class ch.bfh.algo.graph.DefaultGraphFactory
 
castEdge(Position<?>) - Method in interface ch.bfh.algo.graph.GraphFactory
 
castVertex(Position<?>) - Method in interface ch.bfh.algo.forest.ForestFactory
 
castVertex(Position<?>) - Method in class ch.bfh.algo.graph.DefaultGraphFactory
 
castVertex(Position<?>) - Method in interface ch.bfh.algo.graph.GraphFactory
 
ch.bfh.algo - package ch.bfh.algo
 
ch.bfh.algo.core - package ch.bfh.algo.core
 
ch.bfh.algo.core.forest - package ch.bfh.algo.core.forest
 
ch.bfh.algo.core.graph - package ch.bfh.algo.core.graph
 
ch.bfh.algo.core.position - package ch.bfh.algo.core.position
 
ch.bfh.algo.core.sequence - package ch.bfh.algo.core.sequence
 
ch.bfh.algo.example - package ch.bfh.algo.example
 
ch.bfh.algo.forest - package ch.bfh.algo.forest
 
ch.bfh.algo.graph - package ch.bfh.algo.graph
 
ch.bfh.algo.sequence - package ch.bfh.algo.sequence
 
childLeft(Position<?>) - Method in interface ch.bfh.algo.BinaryForest
Access the left child of a given node (the parent).
childLeft(Position<?>) - Method in class ch.bfh.algo.core.forest.GenericBinaryForestGraph
 
childLeft(P) - Method in class ch.bfh.algo.core.forest.GenericBinaryForestGraph
 
childLeft(Position<?>) - Method in interface ch.bfh.algo.core.GenericBinaryForest
 
children(Position<?>) - Method in class ch.bfh.algo.core.forest.GenericForestGraph
 
children(Position<?>) - Method in interface ch.bfh.algo.core.GenericForest
 
children(Position<?>) - Method in interface ch.bfh.algo.Forest
Returns the list of the children of a given node.
childRight(Position<?>) - Method in interface ch.bfh.algo.BinaryForest
Access the right child of a given node (the parent).
childRight(Position<?>) - Method in class ch.bfh.algo.core.forest.GenericBinaryForestGraph
 
childRight(P) - Method in class ch.bfh.algo.core.forest.GenericBinaryForestGraph
 
childRight(Position<?>) - Method in interface ch.bfh.algo.core.GenericBinaryForest
 
cleanParent(P) - Method in class ch.bfh.algo.core.forest.GenericBinaryNode
 
clear() - Method in class ch.bfh.algo.core.position.PositionListAdapter
 
clearDestination() - Method in class ch.bfh.algo.core.graph.GenericEdge
 
clearOrigin() - Method in class ch.bfh.algo.core.graph.GenericEdge
 
clearVertex(GenericVertex<E, V, PE, PV>) - Method in class ch.bfh.algo.core.graph.GenericEdge
 
ConcreteLocator<E,P extends ConcretePosition<E,P>> - Class in ch.bfh.algo.core.sequence
 
ConcreteLocator() - Constructor for class ch.bfh.algo.core.sequence.ConcreteLocator
 
ConcretePosition<E,P extends ConcretePosition<E,P>> - Class in ch.bfh.algo.core.sequence
 
ConcretePosition() - Constructor for class ch.bfh.algo.core.sequence.ConcretePosition
 
constructDirectedGraph() - Method in class ch.bfh.algo.example.GraphExample3
The constructDirectedGraph method is used to initialize a default directed Graph.
constructDirectedGraph(int, int) - Method in class ch.bfh.algo.example.GraphExampleNonGenerics
The constructDirectedGraph method is used to initialize a default directed Graph.
constructDirectedGraph(int, int) - Method in class ch.bfh.algo.example.GraphStress
The constructDirectedGraph method is used to initialize a default directed Graph.
constructUndirectedGraph() - Static method in class ch.bfh.algo.example.GraphExample1
The constructUndirectedGraph method is used to initialize a default undirected Graph.
constructUndirectedGraph() - Method in class ch.bfh.algo.example.GraphExample2
The constructUndirectedGraph method is used to initialize a default undirected Graph.
Container<E> - Interface in ch.bfh.algo
A Container is a Collection of elements.
container() - Method in class ch.bfh.algo.core.sequence.ConcretePosition
 
container() - Method in class ch.bfh.algo.core.sequence.GenericLinkedPosition
 
contains(Object) - Method in class ch.bfh.algo.core.position.PositionListAdapter
 
containsAll(Collection<?>) - Method in class ch.bfh.algo.core.position.PositionListAdapter
 
createArray(int) - Method in interface ch.bfh.algo.core.sequence.ArrayFactory
 
createEdge() - Method in class ch.bfh.algo.graph.DefaultGraphFactory
 
createEdge() - Method in interface ch.bfh.algo.graph.GraphFactory
 
createPosition() - Method in interface ch.bfh.algo.sequence.SequenceFactory
 
createVertex() - Method in interface ch.bfh.algo.forest.ForestFactory
 
createVertex() - Method in class ch.bfh.algo.graph.DefaultGraphFactory
 
createVertex() - Method in interface ch.bfh.algo.graph.GraphFactory
 
cut(P) - Method in class ch.bfh.algo.core.forest.GenericBinaryForestGraph
 
cut(Position<?>) - Method in class ch.bfh.algo.core.forest.GenericForestGraph
 
cut(P) - Method in class ch.bfh.algo.core.forest.GenericForestGraph
 
cut(Position<?>) - Method in interface ch.bfh.algo.Forest
Removes the relation between the given node (child) and its parent.

D

DecoratedSequenceExample<E> - Class in ch.bfh.algo.example
 
DecoratedSequenceExample() - Constructor for class ch.bfh.algo.example.DecoratedSequenceExample
 
DefaultBinaryForest<E> - Class in ch.bfh.algo.forest
 
DefaultBinaryForest() - Constructor for class ch.bfh.algo.forest.DefaultBinaryForest
 
DefaultBinaryForest(ForestFactory<BinaryNode<E>>) - Constructor for class ch.bfh.algo.forest.DefaultBinaryForest
 
DefaultBinaryForest(Collection<? extends E>) - Constructor for class ch.bfh.algo.forest.DefaultBinaryForest
 
DefaultBinaryForest(BinaryForest<E>) - Constructor for class ch.bfh.algo.forest.DefaultBinaryForest
 
DefaultBinaryForest(DefaultBinaryForest<E>) - Constructor for class ch.bfh.algo.forest.DefaultBinaryForest
 
DefaultBinaryForest(ForestFactory<BinaryNode<E>>, BinaryForest<? extends E>) - Constructor for class ch.bfh.algo.forest.DefaultBinaryForest
 
DefaultForest<E> - Class in ch.bfh.algo.forest
 
DefaultForest() - Constructor for class ch.bfh.algo.forest.DefaultForest
 
DefaultForest(ForestFactory<Node<E>>) - Constructor for class ch.bfh.algo.forest.DefaultForest
 
DefaultForest(Collection<? extends E>) - Constructor for class ch.bfh.algo.forest.DefaultForest
 
DefaultForest(Forest<E>) - Constructor for class ch.bfh.algo.forest.DefaultForest
 
DefaultForest(DefaultForest<E>) - Constructor for class ch.bfh.algo.forest.DefaultForest
 
DefaultForest(ForestFactory<Node<E>>, Forest<? extends E>) - Constructor for class ch.bfh.algo.forest.DefaultForest
 
DefaultGenericArrayStrategy<P> - Class in ch.bfh.algo.core.sequence
 
DefaultGenericArrayStrategy(ArrayFactory<P>) - Constructor for class ch.bfh.algo.core.sequence.DefaultGenericArrayStrategy
 
DefaultGenericArrayStrategy(int, int, ArrayFactory<P>) - Constructor for class ch.bfh.algo.core.sequence.DefaultGenericArrayStrategy
 
DefaultGraph<E,V> - Class in ch.bfh.algo.graph
 
DefaultGraph(GraphFactory<Edge<E, V>, Vertex<E, V>>, boolean) - Constructor for class ch.bfh.algo.graph.DefaultGraph
 
DefaultGraph(boolean) - Constructor for class ch.bfh.algo.graph.DefaultGraph
 
DefaultGraph(GraphFactory<Edge<E, V>, Vertex<E, V>>) - Constructor for class ch.bfh.algo.graph.DefaultGraph
 
DefaultGraph() - Constructor for class ch.bfh.algo.graph.DefaultGraph
 
DefaultGraph(Collection<? extends V>) - Constructor for class ch.bfh.algo.graph.DefaultGraph
 
DefaultGraph(Graph<E, V>) - Constructor for class ch.bfh.algo.graph.DefaultGraph
 
DefaultGraph(DefaultGraph<E, V>) - Constructor for class ch.bfh.algo.graph.DefaultGraph
 
DefaultGraph(GraphFactory<Edge<E, V>, Vertex<E, V>>, Graph<? extends E, ? extends V>) - Constructor for class ch.bfh.algo.graph.DefaultGraph
 
DefaultGraphFactory<E,V> - Class in ch.bfh.algo.graph
 
DefaultGraphFactory() - Constructor for class ch.bfh.algo.graph.DefaultGraphFactory
 
delete(Position<?>) - Method in interface ch.bfh.algo.Container
Deletes the specified position and returns the corresponding element.
delete(PV) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
delete() - Method in class ch.bfh.algo.core.graph.GenericEdge
 
delete() - Method in class ch.bfh.algo.core.graph.GenericVertex
 
delete(Position<?>) - Method in class ch.bfh.algo.core.sequence.GenericArraySequence
 
delete(P) - Method in class ch.bfh.algo.core.sequence.GenericArraySequence
 
delete(Position<?>) - Method in class ch.bfh.algo.core.sequence.GenericLinkedSequence
 
delete(P) - Method in class ch.bfh.algo.core.sequence.GenericLinkedSequence
 
delete(int) - Method in class ch.bfh.algo.core.sequence.PositionArray
 
deleteEdge(Position<?>) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
deleteEdge(PE) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
deleteEdge(Position<?>) - Method in interface ch.bfh.algo.Graph
Deletes the edge position.
deleteVertex(P) - Method in class ch.bfh.algo.core.forest.GenericBinaryForestGraph
 
deleteVertex(P) - Method in class ch.bfh.algo.core.forest.GenericForestGraph
 
deleteVertex(PV) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
deleteVertex(Position<?>) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
deleteVertex(Position<?>) - Method in interface ch.bfh.algo.Graph
Deletes the vertex position.
destination(Position<?>) - Method in interface ch.bfh.algo.core.GenericGraph
 
destination(Position<?>) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
destination(PE) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
destination() - Method in class ch.bfh.algo.core.graph.GenericEdge
 
destination(Position<?>) - Method in interface ch.bfh.algo.Graph
Returns the destination of the edge edge
detach(Position<?>, Position<?>) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
detach() - Method in class ch.bfh.algo.core.sequence.LinkedCursor
 
detach(Position<?>, Position<?>) - Method in interface ch.bfh.algo.Graph
Separates edge from one of its extremities, the vertex vertex.
detachAfter(ObserverPosition) - Method in class ch.bfh.algo.core.sequence.GenericLinkedPosition
 
detachAfter(ObserverPosition) - Method in interface ch.bfh.algo.core.sequence.Observable
 
detachAfter(ObserverPosition) - Method in class ch.bfh.algo.core.sequence.ObserverPosition
 
detachBefore(ObserverPosition) - Method in class ch.bfh.algo.core.sequence.GenericLinkedPosition
 
detachBefore(ObserverPosition) - Method in interface ch.bfh.algo.core.sequence.Observable
 
detachBefore(ObserverPosition) - Method in class ch.bfh.algo.core.sequence.ObserverPosition
 
detachVertex(PE, PV) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
dfsTraversal(Graph<Integer, String>, List<Position<String>>) - Static method in class ch.bfh.algo.example.GraphExample3
The dfsTraversal is an example of the possible implementation of a Depth First Search traversal of a Graph.
dfsTraversal(Graph, List) - Static method in class ch.bfh.algo.example.GraphExampleNonGenerics
The dfsTraversal is an example of the possible implementation of a Depth First Search traversal of a Graph.
dfsTraversal(Graph<Integer, String>, List<Position<String>>) - Static method in class ch.bfh.algo.example.GraphStress
The dfsTraversal is an example of the possible implementation of a Depth First Search traversal of a Graph.
Direction - Enum in ch.bfh.algo
 
DirectionException - Exception in ch.bfh.algo
 
DirectionException() - Constructor for exception ch.bfh.algo.DirectionException
 
DirectionException(String) - Constructor for exception ch.bfh.algo.DirectionException
 
displayBinaryForest(BinaryForest<String>) - Static method in class ch.bfh.algo.example.TreeExample
The displayBinaryForest method implements a recursive in-order traversal.
displayForest(Forest<String>) - Static method in class ch.bfh.algo.example.TreeExample
This method displays all the nodes of a forests f This function contains a loop on all the roots of the forest.

E

Edge<E,V> - Class in ch.bfh.algo.graph
 
Edge() - Constructor for class ch.bfh.algo.graph.Edge
 
edgeElement(Position<?>) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
edgeElement(PE) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
edgeElement(Position<?>) - Method in interface ch.bfh.algo.Graph
Returns the element contained in edge
edgeElements() - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
edgeElements() - Method in interface ch.bfh.algo.Graph
Returns a list of all elements contained in the edges.
edges() - Method in interface ch.bfh.algo.core.GenericGraph
 
edges(Direction) - Method in interface ch.bfh.algo.core.GenericGraph
 
edges() - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
edges(Direction) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
edges() - Method in interface ch.bfh.algo.Graph
Returns a list of all the edges contained in the graph.
edges(Direction) - Method in interface ch.bfh.algo.Graph
Returns a list of all the edges of a desired type.
element(Position<?>) - Method in interface ch.bfh.algo.Container
This Container determines if it contains the position and -- if it is found -- the corresponding element is returned.
element - Variable in class ch.bfh.algo.core.sequence.ConcreteLocator
 
element() - Method in class ch.bfh.algo.core.sequence.ConcreteLocator
 
element() - Method in class ch.bfh.algo.core.sequence.ConcretePosition
 
element(Position<?>) - Method in class ch.bfh.algo.core.sequence.GenericArraySequence
 
element(P) - Method in class ch.bfh.algo.core.sequence.GenericArraySequence
 
element(Position<?>) - Method in class ch.bfh.algo.core.sequence.GenericLinkedSequence
 
element(P) - Method in class ch.bfh.algo.core.sequence.GenericLinkedSequence
 
element() - Method in interface ch.bfh.algo.Locator
 
element() - Method in interface ch.bfh.algo.Position
The method element() returns the element contained in the position.
EmptySequenceException - Exception in ch.bfh.algo
 
EmptySequenceException() - Constructor for exception ch.bfh.algo.EmptySequenceException
 
EmptySequenceException(String) - Constructor for exception ch.bfh.algo.EmptySequenceException
 
encloses(Position<?>) - Method in interface ch.bfh.algo.Container
Tests if the specified position is contained in this ch.bfh.algo.Container.
encloses(Position<?>) - Method in class ch.bfh.algo.core.sequence.GenericArraySequence
 
encloses(P) - Method in class ch.bfh.algo.core.sequence.GenericArraySequence
 
encloses(Position<?>) - Method in class ch.bfh.algo.core.sequence.GenericLinkedSequence
 
encloses(P) - Method in class ch.bfh.algo.core.sequence.GenericLinkedSequence
 
enlarge(int, P[]) - Method in interface ch.bfh.algo.core.sequence.ArrayStrategy
 
enlarge(int, P[]) - Method in class ch.bfh.algo.core.sequence.DefaultGenericArrayStrategy
 
ex1() - Static method in class ch.bfh.algo.example.GraphExample1
 
ex1() - Static method in class ch.bfh.algo.example.TreeExample
The ex1 method executes all tests concerning the Forest.
ex2() - Static method in class ch.bfh.algo.example.TreeExample
The ex2 method contains the tests about the BinaryForest.
example() - Method in class ch.bfh.algo.example.DecoratedSequenceExample
 

F

factory - Variable in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
fill(int) - Method in class ch.bfh.algo.example.DecoratedSequenceExample
 
finalize() - Method in class ch.bfh.algo.core.sequence.LinkedIterator
 
first() - Method in interface ch.bfh.algo.core.GenericSequence
 
first() - Method in class ch.bfh.algo.core.sequence.GenericArraySequence
 
first() - Method in class ch.bfh.algo.core.sequence.GenericLinkedSequence
 
first() - Method in interface ch.bfh.algo.Sequence
The method first() returns the Position containing the first element of the sequence.
Forest<E> - Interface in ch.bfh.algo
The Forest interface is used to store any type of arborescence.
ForestFactory<P> - Interface in ch.bfh.algo.forest
 

G

GenericAdjacencyListGraph<E,V,PE extends GenericEdge<E,V,PE,PV>,PV extends GenericVertex<E,V,PE,PV>> - Class in ch.bfh.algo.core.graph
 
GenericAdjacencyListGraph(GraphFactory<PE, PV>, boolean) - Constructor for class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
GenericArrayPosition<E,P extends GenericArrayPosition<E,P>> - Class in ch.bfh.algo.core.sequence
 
GenericArrayPosition() - Constructor for class ch.bfh.algo.core.sequence.GenericArrayPosition
 
GenericArraySequence<E,P extends GenericArrayPosition<E,P>> - Class in ch.bfh.algo.core.sequence
 
GenericArraySequence(int, SequenceFactory<P>, ArrayStrategy<P>) - Constructor for class ch.bfh.algo.core.sequence.GenericArraySequence
 
GenericBinaryForest<E,P extends GenericPosition<E,P>> - Interface in ch.bfh.algo.core
 
GenericBinaryForestGraph<E,P extends GenericBinaryNode<E,P>> - Class in ch.bfh.algo.core.forest
 
GenericBinaryForestGraph(ForestFactory<P>) - Constructor for class ch.bfh.algo.core.forest.GenericBinaryForestGraph
 
GenericBinaryNode<E,P extends GenericBinaryNode<E,P>> - Class in ch.bfh.algo.core.forest
 
GenericBinaryNode() - Constructor for class ch.bfh.algo.core.forest.GenericBinaryNode
 
GenericContainer<E,P extends GenericPosition<E,P>> - Interface in ch.bfh.algo.core
 
GenericEdge<E,V,PE extends GenericEdge<E,V,PE,PV>,PV extends GenericVertex<E,V,PE,PV>> - Class in ch.bfh.algo.core.graph
 
GenericEdge() - Constructor for class ch.bfh.algo.core.graph.GenericEdge
 
GenericForest<E,P extends GenericPosition<E,P>> - Interface in ch.bfh.algo.core
 
GenericForestGraph<E,P extends GenericNode<E,P>> - Class in ch.bfh.algo.core.forest
 
GenericForestGraph(ForestFactory<P>) - Constructor for class ch.bfh.algo.core.forest.GenericForestGraph
 
GenericGraph<E,V,PE extends GenericPosition<E,PE>,PV extends GenericPosition<V,PV>> - Interface in ch.bfh.algo.core
 
GenericLink<E,P extends GenericNode<E,P>> - Class in ch.bfh.algo.core.forest
 
GenericLink() - Constructor for class ch.bfh.algo.core.forest.GenericLink
 
GenericLinkedPosition<E,P extends GenericLinkedPosition<E,P>> - Class in ch.bfh.algo.core.sequence
 
GenericLinkedPosition() - Constructor for class ch.bfh.algo.core.sequence.GenericLinkedPosition
 
GenericLinkedPosition(boolean) - Constructor for class ch.bfh.algo.core.sequence.GenericLinkedPosition
 
GenericLinkedSequence<E,P extends GenericLinkedPosition<E,P>> - Class in ch.bfh.algo.core.sequence
 
GenericLinkedSequence(SequenceFactory<P>) - Constructor for class ch.bfh.algo.core.sequence.GenericLinkedSequence
 
GenericLocator<E,P extends GenericPosition<E,P>> - Interface in ch.bfh.algo.core
 
GenericNode<E,P extends GenericNode<E,P>> - Class in ch.bfh.algo.core.forest
 
GenericNode() - Constructor for class ch.bfh.algo.core.forest.GenericNode
 
GenericPosition<E,P extends GenericPosition<E,P>> - Interface in ch.bfh.algo.core
 
GenericSequence<E,P extends GenericPosition<E,P>> - Interface in ch.bfh.algo.core
 
GenericVertex<E,V,PE extends GenericEdge<E,V,PE,PV>,PV extends GenericVertex<E,V,PE,PV>> - Class in ch.bfh.algo.core.graph
 
GenericVertex() - Constructor for class ch.bfh.algo.core.graph.GenericVertex
 
get(int) - Method in interface ch.bfh.algo.core.position.PositionList
 
get(int) - Method in class ch.bfh.algo.core.position.PositionListAdapter
 
get(int) - Method in class ch.bfh.algo.core.sequence.GenericArraySequence
 
get(int) - Method in class ch.bfh.algo.core.sequence.PositionArray
 
getFactory() - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
getLinkPosition() - Method in class ch.bfh.algo.core.forest.GenericNode
 
getNext() - Method in class ch.bfh.algo.core.sequence.GenericLinkedPosition
 
getNext() - Method in class ch.bfh.algo.core.sequence.LinkedCursor
 
getPrevious() - Method in class ch.bfh.algo.core.sequence.GenericLinkedPosition
 
getPrevious() - Method in class ch.bfh.algo.core.sequence.LinkedCursor
 
getRank() - Method in class ch.bfh.algo.core.sequence.GenericArrayPosition
 
Graph<E,V> - Interface in ch.bfh.algo
The Graph interface has the functionalities of both a directed and an undirected graph.
GraphExample1 - Class in ch.bfh.algo.example
The class GraphExample1 contains one very simple example of the ch.bfh.algo.Graph interface.
GraphExample1() - Constructor for class ch.bfh.algo.example.GraphExample1
 
GraphExample2 - Class in ch.bfh.algo.example
The class GraphExample2 contains an example of the ch.bfh.algo.Graph interface, using the Factory Pattern to have specialized Vertices.
GraphExample2() - Constructor for class ch.bfh.algo.example.GraphExample2
 
GraphExample3 - Class in ch.bfh.algo.example
The class GraphExample3 contains an example of the ch.bfh.algo.Graph interface, using the Factory Pattern to have specialized Vertices.
GraphExample3() - Constructor for class ch.bfh.algo.example.GraphExample3
 
GraphExampleNonGenerics - Class in ch.bfh.algo.example
The class GraphExampleNonGenerics contains an example of use of graph without any generics.
GraphExampleNonGenerics() - Constructor for class ch.bfh.algo.example.GraphExampleNonGenerics
 
GraphFactory<PE,PV> - Interface in ch.bfh.algo.graph
 
GraphStress - Class in ch.bfh.algo.example
The class GraphStress contains Stess Tests for the Graph
GraphStress() - Constructor for class ch.bfh.algo.example.GraphStress
 

H

hasNext() - Method in class ch.bfh.algo.core.position.PositionIteratorAdapter
 
hasNext() - Method in class ch.bfh.algo.core.sequence.LinkedIterator
 
hasPrevious() - Method in class ch.bfh.algo.core.position.PositionListIteratorAdapter
 
hasPrevious() - Method in class ch.bfh.algo.core.sequence.LinkedIterator
 
head() - Method in class ch.bfh.algo.core.sequence.GenericLinkedSequence
 

I

incidentEdges(Position<?>, Direction) - Method in interface ch.bfh.algo.core.GenericGraph
 
incidentEdges(Position<?>, Direction) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
incidentEdges(PV, Direction) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
incidentEdges(Direction) - Method in class ch.bfh.algo.core.graph.GenericVertex
 
incidentEdges(Position<?>, Direction) - Method in interface ch.bfh.algo.Graph
Returns a list of the incident edges of the vertex.
indexOf(Object) - Method in class ch.bfh.algo.core.position.PositionListAdapter
 
initBinaryForest() - Static method in class ch.bfh.algo.example.TreeExample
The initBinaryForest method is used to create a new binary forest.
initForest() - Static method in class ch.bfh.algo.example.TreeExample
This method creates and initialize a Forest.
initialize(int) - Method in interface ch.bfh.algo.core.sequence.ArrayStrategy
 
initialize(int) - Method in class ch.bfh.algo.core.sequence.DefaultGenericArrayStrategy
 
insert(E) - Method in interface ch.bfh.algo.Container
Inserts the specified element into this Container.
insert(E) - Method in interface ch.bfh.algo.core.GenericContainer
 
insert(LinkedSequence<PE>) - Method in class ch.bfh.algo.core.graph.GenericEdge
 
insert(LinkedSequence<PV>) - Method in class ch.bfh.algo.core.graph.GenericVertex
 
insert(E) - Method in class ch.bfh.algo.core.sequence.GenericArraySequence
 
insert(E) - Method in class ch.bfh.algo.core.sequence.GenericLinkedSequence
 
insert(E, P) - Method in class ch.bfh.algo.core.sequence.GenericLinkedSequence
 
insert(int, P) - Method in class ch.bfh.algo.core.sequence.PositionArray
 
insertAfter(Position<?>, E) - Method in interface ch.bfh.algo.core.GenericSequence
 
insertAfter(PV, V) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
insertAfter(Position<?>, E) - Method in class ch.bfh.algo.core.sequence.GenericArraySequence
 
insertAfter(P, E) - Method in class ch.bfh.algo.core.sequence.GenericArraySequence
 
insertAfter(Position<?>, E) - Method in class ch.bfh.algo.core.sequence.GenericLinkedSequence
 
insertAfter(P, E) - Method in class ch.bfh.algo.core.sequence.GenericLinkedSequence
 
insertAfter(Position<?>, E) - Method in interface ch.bfh.algo.Sequence
This method insert element in the sequence.
insertBefore(Position<?>, E) - Method in interface ch.bfh.algo.core.GenericSequence
 
insertBefore(PV, V) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
insertBefore(Position<?>, E) - Method in class ch.bfh.algo.core.sequence.GenericArraySequence
 
insertBefore(P, E) - Method in class ch.bfh.algo.core.sequence.GenericArraySequence
 
insertBefore(Position<?>, E) - Method in class ch.bfh.algo.core.sequence.GenericLinkedSequence
 
insertBefore(P, E) - Method in class ch.bfh.algo.core.sequence.GenericLinkedSequence
 
insertBefore(Position<?>, E) - Method in interface ch.bfh.algo.Sequence
This method insert element in the sequence.
insertBetween(P, P, E, P) - Method in class ch.bfh.algo.core.forest.GenericForestGraph
 
insertBetween(PV, PV, V, PV) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
insertBetween(P, P, E) - Method in class ch.bfh.algo.core.sequence.GenericLinkedSequence
 
insertBetween(P, P, E, P) - Method in class ch.bfh.algo.core.sequence.GenericLinkedSequence
 
insertEdge(E) - Method in interface ch.bfh.algo.core.GenericGraph
 
insertEdge(E, PV, PV) - Method in interface ch.bfh.algo.core.GenericGraph
 
insertEdge(E) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
insertEdge(E, Position<?>, Position<?>) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
insertEdge(E, PV, PV) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
insertEdge(E) - Method in interface ch.bfh.algo.Graph
Creates a new edge containing the element.
insertEdge(E, Position<?>, Position<?>) - Method in interface ch.bfh.algo.Graph
Creates a new edge containing the element.
insertVertex(V) - Method in interface ch.bfh.algo.core.GenericGraph
 
insertVertex(V) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
insertVertex(V) - Method in interface ch.bfh.algo.Graph
Creates a new vertex containing the element.
InvalidAccessorException - Exception in ch.bfh.algo
 
InvalidAccessorException() - Constructor for exception ch.bfh.algo.InvalidAccessorException
 
InvalidAccessorException(String) - Constructor for exception ch.bfh.algo.InvalidAccessorException
 
isDirected(Position<?>) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
isDirected(PE) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
isDirected(LinkedSequence<PE>) - Method in class ch.bfh.algo.core.graph.GenericEdge
 
isDirected(Position<?>) - Method in interface ch.bfh.algo.Graph
Verifies if an edge is directed.
isEmpty() - Method in class ch.bfh.algo.core.position.PositionListAdapter
 
iterator() - Method in interface ch.bfh.algo.core.position.PositionList
 
iterator() - Method in class ch.bfh.algo.core.position.PositionListAdapter
 

L

last() - Method in interface ch.bfh.algo.core.GenericSequence
 
last() - Method in class ch.bfh.algo.core.sequence.GenericArraySequence
 
last() - Method in class ch.bfh.algo.core.sequence.GenericLinkedSequence
 
last() - Method in interface ch.bfh.algo.Sequence
The method last() returns the Position containing the last element of the sequence.
lastIndexOf(Object) - Method in class ch.bfh.algo.core.position.PositionListAdapter
 
left() - Method in class ch.bfh.algo.core.forest.GenericBinaryNode
 
link(P, P) - Method in class ch.bfh.algo.core.forest.GenericBinaryForestGraph
 
link(Position<?>, Position<?>) - Method in class ch.bfh.algo.core.forest.GenericForestGraph
 
link(P, P) - Method in class ch.bfh.algo.core.forest.GenericForestGraph
 
link(Position<?>, Position<?>) - Method in interface ch.bfh.algo.Forest
Creates a link between parent and child.
linkAfter(P, P) - Method in class ch.bfh.algo.core.forest.GenericBinaryForestGraph
 
linkAfter(Position<?>, Position<?>) - Method in class ch.bfh.algo.core.forest.GenericForestGraph
 
linkAfter(P, P) - Method in class ch.bfh.algo.core.forest.GenericForestGraph
 
linkAfter(Position<?>, Position<?>) - Method in interface ch.bfh.algo.Forest
Inserts node in the list of children of the parent of sibling.
linkBefore(P, P) - Method in class ch.bfh.algo.core.forest.GenericBinaryForestGraph
 
linkBefore(Position<?>, Position<?>) - Method in class ch.bfh.algo.core.forest.GenericForestGraph
 
linkBefore(P, P) - Method in class ch.bfh.algo.core.forest.GenericForestGraph
 
linkBefore(Position<?>, Position<?>) - Method in interface ch.bfh.algo.Forest
Inserts node in the list of children of the parent of sibling.
LinkedCursor<E,P extends GenericLinkedPosition<E,P>> - Class in ch.bfh.algo.core.sequence
 
LinkedCursor(P, P) - Constructor for class ch.bfh.algo.core.sequence.LinkedCursor
 
LinkedElementIterator<E,P extends GenericLinkedPosition<E,P>> - Class in ch.bfh.algo.core.sequence
 
LinkedElementIterator(GenericLinkedSequence<E, P>, P, P) - Constructor for class ch.bfh.algo.core.sequence.LinkedElementIterator
 
LinkedIterator<E,P extends GenericLinkedPosition<E,P>> - Class in ch.bfh.algo.core.sequence
 
LinkedIterator(GenericLinkedSequence<E, P>, P, P) - Constructor for class ch.bfh.algo.core.sequence.LinkedIterator
 
LinkedPosition<E> - Class in ch.bfh.algo.sequence
 
LinkedPosition() - Constructor for class ch.bfh.algo.sequence.LinkedPosition
 
LinkedPositionIterator<E,P extends GenericLinkedPosition<E,P>> - Class in ch.bfh.algo.core.sequence
 
LinkedPositionIterator(GenericLinkedSequence<E, P>, P, P) - Constructor for class ch.bfh.algo.core.sequence.LinkedPositionIterator
 
LinkedSequence<E> - Class in ch.bfh.algo.sequence
 
LinkedSequence() - Constructor for class ch.bfh.algo.sequence.LinkedSequence
 
LinkedSequence(SequenceFactory<LinkedPosition<E>>) - Constructor for class ch.bfh.algo.sequence.LinkedSequence
 
LinkedSequence(Collection<? extends E>) - Constructor for class ch.bfh.algo.sequence.LinkedSequence
 
linkLeft(Position<?>, Position<?>) - Method in interface ch.bfh.algo.BinaryForest
Creates a link (parent-child relationship) between a node, the parent, and another node, the child The child should not have any parent, i.e.
linkLeft(Position<?>, Position<?>) - Method in class ch.bfh.algo.core.forest.GenericBinaryForestGraph
 
linkLeft(P, P) - Method in class ch.bfh.algo.core.forest.GenericBinaryForestGraph
 
linkRight(Position<?>, Position<?>) - Method in interface ch.bfh.algo.BinaryForest
Creates a link (parent-child relationship) between a node, the parent, and another node, the child The child should not have any parent, i.e.
linkRight(Position<?>, Position<?>) - Method in class ch.bfh.algo.core.forest.GenericBinaryForestGraph
 
linkRight(P, P) - Method in class ch.bfh.algo.core.forest.GenericBinaryForestGraph
 
listIterator(int) - Method in class ch.bfh.algo.core.graph.ListMergeAdapter
 
listIterator(int) - Method in class ch.bfh.algo.core.graph.VertexListAdapter
 
listIterator() - Method in interface ch.bfh.algo.core.position.PositionList
 
listIterator(int) - Method in interface ch.bfh.algo.core.position.PositionList
 
listIterator() - Method in class ch.bfh.algo.core.position.PositionListAdapter
 
listIterator(int) - Method in class ch.bfh.algo.core.position.PositionListAdapter
 
listIterator(int) - Method in class ch.bfh.algo.core.sequence.GenericLinkedSequence
 
ListMergeAdapter<E> - Class in ch.bfh.algo.core.graph
 
ListMergeAdapter(List<E>, List<E>) - Constructor for class ch.bfh.algo.core.graph.ListMergeAdapter
 
locator() - Method in interface ch.bfh.algo.core.GenericPosition
 
locator() - Method in class ch.bfh.algo.core.sequence.ConcretePosition
 
Locator<E> - Interface in ch.bfh.algo
 
locator() - Method in interface ch.bfh.algo.Position
The locator method is used to access the second level place holder (used only for complex data structures) such that ...

M

main(String[]) - Static method in class ch.bfh.algo.example.DecoratedSequenceExample
 
main(String[]) - Static method in class ch.bfh.algo.example.GraphExample1
 
main(String[]) - Static method in class ch.bfh.algo.example.GraphExample2
 
main(String[]) - Static method in class ch.bfh.algo.example.GraphExample3
 
main(String[]) - Static method in class ch.bfh.algo.example.GraphExampleNonGenerics
 
main(String[]) - Static method in class ch.bfh.algo.example.GraphStress
 
main(String[]) - Static method in class ch.bfh.algo.example.SequencesSortExamples
 
main(String[]) - Static method in class ch.bfh.algo.example.TreeExample
 
markRoot(LinkedSequence<P>) - Method in class ch.bfh.algo.core.forest.GenericNode
 
mergeSort(Sequence<Integer>) - Static method in class ch.bfh.algo.example.SequencesSortExamples
The method mergeSort implements the merge sort algorithm using the Sequence interface.
mergeUsingPositions(Sequence<Integer>, Sequence<Integer>, Sequence<Integer>) - Static method in class ch.bfh.algo.example.SequencesSortExamples
 
moveNext() - Method in class ch.bfh.algo.core.sequence.LinkedCursor
 
movePrevious() - Method in class ch.bfh.algo.core.sequence.LinkedCursor
 

N

next() - Method in interface ch.bfh.algo.core.position.PositionIterator
 
next() - Method in class ch.bfh.algo.core.position.PositionIteratorAdapter
 
next() - Method in class ch.bfh.algo.core.sequence.LinkedElementIterator
 
next() - Method in class ch.bfh.algo.core.sequence.LinkedPositionIterator
 
nextElement() - Method in class ch.bfh.algo.core.sequence.LinkedIterator
 
nextIndex() - Method in class ch.bfh.algo.core.position.PositionListIteratorAdapter
 
nextIndex() - Method in class ch.bfh.algo.core.sequence.LinkedIterator
 
nextPosition() - Method in class ch.bfh.algo.core.sequence.LinkedIterator
 
Node<E> - Class in ch.bfh.algo.forest
 
Node() - Constructor for class ch.bfh.algo.forest.Node
 
notifyAfter() - Method in class ch.bfh.algo.core.sequence.GenericLinkedPosition
 
notifyAfter() - Method in interface ch.bfh.algo.core.sequence.Observable
 
notifyAfter() - Method in class ch.bfh.algo.core.sequence.ObserverPosition
 
notifyBefore() - Method in class ch.bfh.algo.core.sequence.GenericLinkedPosition
 
notifyBefore() - Method in interface ch.bfh.algo.core.sequence.Observable
 
notifyBefore() - Method in class ch.bfh.algo.core.sequence.ObserverPosition
 

O

Observable - Interface in ch.bfh.algo.core.sequence
 
Observer - Interface in ch.bfh.algo.core.sequence
 
ObserverPosition - Class in ch.bfh.algo.core.sequence
 
ObserverPosition() - Constructor for class ch.bfh.algo.core.sequence.ObserverPosition
 
ObserverSequence - Class in ch.bfh.algo.core.sequence
 
ObserverSequence() - Constructor for class ch.bfh.algo.core.sequence.ObserverSequence
 
opposite(Position<?>, Position<?>) - Method in interface ch.bfh.algo.core.GenericGraph
 
opposite(Position<?>, Position<?>) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
opposite(PE, PV) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
opposite(Position<?>, Position<?>) - Method in interface ch.bfh.algo.Graph
Returns the vertex that is opposite to the vertex vertex on the edge edge.
oppositeVertex(GenericVertex<?, ?, PE, PV>) - Method in class ch.bfh.algo.core.graph.GenericEdge
 
origin(Position<?>) - Method in interface ch.bfh.algo.core.GenericGraph
 
origin(Position<?>) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
origin(PE) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
origin() - Method in class ch.bfh.algo.core.graph.GenericEdge
 
origin(Position<?>) - Method in interface ch.bfh.algo.Graph
Returns the origine of the edge edge

P

parent(Position<?>) - Method in class ch.bfh.algo.core.forest.GenericForestGraph
 
parent(Position<?>) - Method in interface ch.bfh.algo.core.GenericForest
 
parent(Position<?>) - Method in interface ch.bfh.algo.Forest
Returns the parent of the given node.
position() - Method in interface ch.bfh.algo.core.GenericLocator
 
position(int) - Method in interface ch.bfh.algo.core.GenericSequence
 
position() - Method in class ch.bfh.algo.core.sequence.ConcreteLocator
 
position(int) - Method in class ch.bfh.algo.core.sequence.GenericArraySequence
 
position(int) - Method in class ch.bfh.algo.core.sequence.GenericLinkedSequence
 
position() - Method in interface ch.bfh.algo.Locator
 
Position<E> - Interface in ch.bfh.algo
The Position interface is used as a placeholder in all the containers (for instance Sequence, Forest, or Graph).
position(int) - Method in interface ch.bfh.algo.Sequence
The position method returns the Position corresponding to a given rank.
PositionArray<E,P extends GenericArrayPosition<E,P>> - Class in ch.bfh.algo.core.sequence
 
PositionArray(int, ArrayStrategy<P>) - Constructor for class ch.bfh.algo.core.sequence.PositionArray
 
positionEfficiencyExample() - Method in class ch.bfh.algo.example.SequencesSortExamples
The method positionEfficiencyExample shows the advantage of the Sequence compared to standard structures such as java.util.List.
positionIterator() - Method in interface ch.bfh.algo.Container
An Iterator over all positions is created.
positionIterator() - Method in interface ch.bfh.algo.core.GenericContainer
 
PositionIterator<E,P extends Position<E>> - Interface in ch.bfh.algo.core.position
 
positionIterator() - Method in class ch.bfh.algo.core.sequence.GenericArraySequence
 
positionIterator() - Method in class ch.bfh.algo.core.sequence.GenericLinkedSequence
 
PositionIteratorAdapter<B,E extends Position<B>> - Class in ch.bfh.algo.core.position
 
PositionIteratorAdapter(Iterator<E>) - Constructor for class ch.bfh.algo.core.position.PositionIteratorAdapter
 
PositionList<B,E extends Position<B>> - Interface in ch.bfh.algo.core.position
 
PositionListAdapter<B,E extends Position<B>> - Class in ch.bfh.algo.core.position
 
PositionListAdapter(List<E>) - Constructor for class ch.bfh.algo.core.position.PositionListAdapter
 
positionListIterator() - Method in interface ch.bfh.algo.core.GenericSequence
 
positionListIterator(int) - Method in interface ch.bfh.algo.core.GenericSequence
 
positionListIterator() - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
positionListIterator(int) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
PositionListIterator<B,E extends Position<B>> - Interface in ch.bfh.algo.core.position
 
positionListIterator(int) - Method in class ch.bfh.algo.core.sequence.GenericArraySequence
 
positionListIterator() - Method in class ch.bfh.algo.core.sequence.GenericArraySequence
 
positionListIterator(int) - Method in class ch.bfh.algo.core.sequence.GenericLinkedSequence
 
positionListIterator() - Method in class ch.bfh.algo.core.sequence.GenericLinkedSequence
 
positionListIterator() - Method in interface ch.bfh.algo.Sequence
The positionListIterator method creates and return a ListIterator for the Positions contained in the sequence.
positionListIterator(int) - Method in interface ch.bfh.algo.Sequence
The positionListIterator method creates and return a ListIterator for the Positions contained in the sequence.
PositionListIteratorAdapter<B,E extends Position<B>> - Class in ch.bfh.algo.core.position
 
PositionListIteratorAdapter(ListIterator<E>) - Constructor for class ch.bfh.algo.core.position.PositionListIteratorAdapter
 
previous() - Method in interface ch.bfh.algo.core.position.PositionListIterator
 
previous() - Method in class ch.bfh.algo.core.position.PositionListIteratorAdapter
 
previous() - Method in class ch.bfh.algo.core.sequence.LinkedElementIterator
 
previous() - Method in class ch.bfh.algo.core.sequence.LinkedPositionIterator
 
previousElement() - Method in class ch.bfh.algo.core.sequence.LinkedIterator
 
previousIndex() - Method in class ch.bfh.algo.core.position.PositionListIteratorAdapter
 
previousIndex() - Method in class ch.bfh.algo.core.sequence.LinkedIterator
 
previousPosition() - Method in class ch.bfh.algo.core.sequence.LinkedIterator
 

R

rank(Position<?>) - Method in class ch.bfh.algo.core.sequence.GenericArraySequence
 
rank(P) - Method in class ch.bfh.algo.core.sequence.GenericArraySequence
 
rank(Position<?>) - Method in class ch.bfh.algo.core.sequence.GenericLinkedSequence
 
rank(P) - Method in class ch.bfh.algo.core.sequence.GenericLinkedSequence
 
rank(Position<?>) - Method in interface ch.bfh.algo.Sequence
The rank method returns the rank of the given position, analogous to the method indexOf in the List interface.
remove() - Method in class ch.bfh.algo.core.position.PositionIteratorAdapter
 
remove(Object) - Method in class ch.bfh.algo.core.position.PositionListAdapter
 
remove(int) - Method in class ch.bfh.algo.core.position.PositionListAdapter
 
remove(int) - Method in class ch.bfh.algo.core.sequence.GenericArraySequence
 
remove() - Method in class ch.bfh.algo.core.sequence.LinkedIterator
 
remove() - Method in class ch.bfh.algo.core.sequence.LinkedPositionIterator
 
removeAll(Collection<?>) - Method in class ch.bfh.algo.core.position.PositionListAdapter
 
removeFirstThreeOfL1FromL2(Sequence<SequencesSortExamples.MyString>, Sequence<SequencesSortExamples.MyString>) - Static method in class ch.bfh.algo.example.SequencesSortExamples
The method removeFirstThreeOfL1FromL2 removes the tree first elements of the sequence1 from the sequence2.
replace(Position<?>, E) - Method in interface ch.bfh.algo.Container
Replaces the element at the specified position with the specified element.
replace(P, E) - Method in class ch.bfh.algo.core.sequence.ConcretePosition
 
replace(Position<?>, E) - Method in class ch.bfh.algo.core.sequence.GenericArraySequence
 
replace(P, E) - Method in class ch.bfh.algo.core.sequence.GenericArraySequence
 
replace(Position<?>, E) - Method in class ch.bfh.algo.core.sequence.GenericLinkedSequence
 
replace(P, E) - Method in class ch.bfh.algo.core.sequence.GenericLinkedSequence
 
replaceEdge(Position<?>, E) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
replaceEdge(Position<?>, E) - Method in interface ch.bfh.algo.Graph
Replaces the element contained in the edge edge by element.
replaceVertex(Position<?>, V) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
replaceVertex(Position<?>, V) - Method in interface ch.bfh.algo.Graph
Replaces the element contained in the vertex vertex by element.
retainAll(Collection<?>) - Method in class ch.bfh.algo.core.position.PositionListAdapter
 
reverse(Position<?>) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
reverse(PE) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
reverse(Position<?>) - Method in interface ch.bfh.algo.Graph
Exchanges the two extremities of an edge.
reverseAllEdges(Graph<Integer, String>) - Static method in class ch.bfh.algo.example.GraphExample3
 
reverseAllEdges(Graph<Integer, String>) - Static method in class ch.bfh.algo.example.GraphStress
 
right() - Method in class ch.bfh.algo.core.forest.GenericBinaryNode
 
roots() - Method in class ch.bfh.algo.core.forest.GenericForestGraph
 
roots() - Method in interface ch.bfh.algo.core.GenericForest
 
roots() - Method in interface ch.bfh.algo.Forest
Returns the list of the roots contained in the forest.
run() - Method in class ch.bfh.algo.example.GraphExample2
 
run() - Method in class ch.bfh.algo.example.GraphExample3
 
run() - Method in class ch.bfh.algo.example.GraphExampleNonGenerics
 
run() - Method in class ch.bfh.algo.example.GraphStress
 
run() - Method in class ch.bfh.algo.example.SequencesSortExamples
 

S

Sequence<E> - Interface in ch.bfh.algo
The Sequence interface is used to store elements in a flat datastructure.
SequenceFactory<P> - Interface in ch.bfh.algo.sequence
 
SequencesSortExamples - Class in ch.bfh.algo.example
The class SequencesSortExamples contains samples of the use of a Sequence.
SequencesSortExamples() - Constructor for class ch.bfh.algo.example.SequencesSortExamples
 
set(int, Position<B>) - Method in class ch.bfh.algo.core.position.PositionListAdapter
 
set(Position<B>) - Method in class ch.bfh.algo.core.position.PositionListIteratorAdapter
 
set(int, E) - Method in class ch.bfh.algo.core.sequence.GenericArraySequence
 
set(E) - Method in class ch.bfh.algo.core.sequence.LinkedElementIterator
 
set(Position<E>) - Method in class ch.bfh.algo.core.sequence.LinkedPositionIterator
 
setContainer(GenericContainer<E, P>) - Method in class ch.bfh.algo.core.sequence.ConcretePosition
 
setDestination(Position<?>, Position<?>) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
setDestination(PE, PV) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
setDestination(PV, LinkedSequence<PE>) - Method in class ch.bfh.algo.core.graph.GenericEdge
 
setDestination(Position<?>, Position<?>) - Method in interface ch.bfh.algo.Graph
Defines the vertex vertex to be the new destination of the edge edge.
setDirected(Position<?>) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
setDirected(PE) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
setDirected(LinkedSequence<PE>) - Method in class ch.bfh.algo.core.graph.GenericEdge
 
setDirected(Position<?>) - Method in interface ch.bfh.algo.Graph
Defines the edge as a directed edge.
setElement(E) - Method in class ch.bfh.algo.core.sequence.ConcreteLocator
 
setElement(E) - Method in class ch.bfh.algo.core.sequence.LinkedIterator
 
setLeft(P) - Method in class ch.bfh.algo.core.forest.GenericBinaryNode
 
setLinkPosition(LinkedPosition<GenericLink<E, P>>) - Method in class ch.bfh.algo.core.forest.GenericNode
 
setLocator(ConcreteLocator<E, P>) - Method in class ch.bfh.algo.core.sequence.ConcretePosition
 
setNext(P) - Method in class ch.bfh.algo.core.sequence.GenericLinkedPosition
 
setOrigin(Position<?>, Position<?>) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
setOrigin(PE, PV) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
setOrigin(PV, LinkedSequence<PE>) - Method in class ch.bfh.algo.core.graph.GenericEdge
 
setOrigin(Position<?>, Position<?>) - Method in interface ch.bfh.algo.Graph
Defines the vertex vertex to be the new origin of the edge edge.
setOriginAfter(PE, PV, LinkedPosition<PE>) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
setOriginAfter(PV, LinkedSequence<PE>, LinkedPosition<PE>) - Method in class ch.bfh.algo.core.graph.GenericEdge
 
setOriginBefore(PE, PV, LinkedPosition<PE>) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
setOriginBefore(PV, LinkedSequence<PE>, LinkedPosition<PE>) - Method in class ch.bfh.algo.core.graph.GenericEdge
 
setPosition(P) - Method in class ch.bfh.algo.core.sequence.ConcreteLocator
 
setPrevious(P) - Method in class ch.bfh.algo.core.sequence.GenericLinkedPosition
 
setRank(int) - Method in class ch.bfh.algo.core.sequence.GenericArrayPosition
 
setRight(P) - Method in class ch.bfh.algo.core.forest.GenericBinaryNode
 
setUndirected(Position<?>) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
setUndirected(PE) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
setUndirected(LinkedSequence<PE>) - Method in class ch.bfh.algo.core.graph.GenericEdge
 
setUndirected(Position<?>) - Method in interface ch.bfh.algo.Graph
Defines the edge as an undirected edge.
shrink(int, P[]) - Method in interface ch.bfh.algo.core.sequence.ArrayStrategy
 
shrink(int, P[]) - Method in class ch.bfh.algo.core.sequence.DefaultGenericArrayStrategy
 
size() - Method in class ch.bfh.algo.core.graph.ListMergeAdapter
 
size() - Method in class ch.bfh.algo.core.graph.VertexListAdapter
 
size() - Method in class ch.bfh.algo.core.position.PositionListAdapter
 
size() - Method in class ch.bfh.algo.core.sequence.GenericArraySequence
 
size() - Method in class ch.bfh.algo.core.sequence.GenericLinkedSequence
 
size() - Method in class ch.bfh.algo.core.sequence.PositionArray
 
splitUsingIterator(List<Integer>, List<Integer>, List<Integer>) - Static method in class ch.bfh.algo.example.SequencesSortExamples
 
subList(int, int) - Method in interface ch.bfh.algo.core.position.PositionList
 
subList(int, int) - Method in class ch.bfh.algo.core.position.PositionListAdapter
 
sum() - Method in class ch.bfh.algo.example.DecoratedSequenceExample
 
swap(Position<?>, Position<?>) - Method in interface ch.bfh.algo.Container
 
swap(P, P) - Method in class ch.bfh.algo.core.sequence.ConcretePosition
 
swap(Position<?>, Position<?>) - Method in class ch.bfh.algo.core.sequence.GenericArraySequence
 
swap(P, P) - Method in class ch.bfh.algo.core.sequence.GenericArraySequence
 
swap(Position<?>, Position<?>) - Method in class ch.bfh.algo.core.sequence.GenericLinkedSequence
 
swap(P, P) - Method in class ch.bfh.algo.core.sequence.GenericLinkedSequence
 
swapEdge(Position<?>, Position<?>) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
swapEdge(Position<?>, Position<?>) - Method in interface ch.bfh.algo.Graph
Exchanges the content of the two edges edge0 and edge1.
swapVertex(Position<?>, Position<?>) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
swapVertex(Position<?>, Position<?>) - Method in interface ch.bfh.algo.Graph
Exchanges the content of the two vertices vertex0 and vertex1.

T

tail() - Method in class ch.bfh.algo.core.sequence.GenericLinkedSequence
 
testMerge() - Static method in class ch.bfh.algo.example.SequencesSortExamples
 
testMergeSort() - Static method in class ch.bfh.algo.example.SequencesSortExamples
This method tests if the merge sort algorithm (mergeSort()) works as expected
testSplit() - Static method in class ch.bfh.algo.example.SequencesSortExamples
This method tests if the method split (splitUsingIterator()) works as expected
toArray() - Method in class ch.bfh.algo.core.position.PositionListAdapter
 
toArray(T[]) - Method in class ch.bfh.algo.core.position.PositionListAdapter
 
transferChildren(Forest<String>, Position<String>, Position<String>) - Static method in class ch.bfh.algo.example.TreeExample
This method transfers all the children from the node p1 to the node p2.
TreeExample - Class in ch.bfh.algo.example
This file contains some examples of the use of the Forest and the BinaryForest interfaces.
TreeExample() - Constructor for class ch.bfh.algo.example.TreeExample
 

U

unmarkRoot() - Method in class ch.bfh.algo.core.forest.GenericNode
 
updateAfter() - Method in class ch.bfh.algo.core.sequence.LinkedCursor
 
updateAfter() - Method in interface ch.bfh.algo.core.sequence.Observer
 
updateBefore() - Method in class ch.bfh.algo.core.sequence.LinkedCursor
 
updateBefore() - Method in interface ch.bfh.algo.core.sequence.Observer
 

V

validate(P) - Method in class ch.bfh.algo.core.sequence.GenericLinkedSequence
 
valueOf(String) - Static method in enum ch.bfh.algo.Direction
Returns the enum constant of this type with the specified name.
values() - Static method in enum ch.bfh.algo.Direction
Returns an array containing the constants of this enum type, in the order they're declared.
Vertex<E,V> - Class in ch.bfh.algo.graph
 
Vertex() - Constructor for class ch.bfh.algo.graph.Vertex
 
vertexElement(Position<?>) - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
vertexElement(Position<?>) - Method in interface ch.bfh.algo.Graph
Returns the element contained in vertex
vertexElements() - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
vertexElements() - Method in interface ch.bfh.algo.Graph
Returns a list of all elements contained in the vertices.
VertexListAdapter<E extends GenericEdge<?,?,E,V>,V extends GenericVertex<?,?,E,V>> - Class in ch.bfh.algo.core.graph
 
VertexListAdapter(List<E>, GenericVertex<?, ?, E, V>) - Constructor for class ch.bfh.algo.core.graph.VertexListAdapter
 
vertices() - Method in interface ch.bfh.algo.core.GenericGraph
 
vertices() - Method in class ch.bfh.algo.core.graph.GenericAdjacencyListGraph
 
vertices() - Method in interface ch.bfh.algo.Graph
Returns a list of all the vertices contained in the graph.

A B C D E F G H I L M N O P R S T U V