- seq.
Variable in class jdsl.simple.ref.SequenceSimplePriorityQueue
-
- SequenceLocPriorityQueue(Comparator).
Constructor for class jdsl.core.ref.SequenceLocPriorityQueue
-
- SequencePosition(Container, Object, int).
Constructor for class jdsl.core.ref.SequencePosition
- Constructor, needs to receive the container that is holding
this position as well as the object that it should hold and
its index
- SequenceSimplePriorityQueue(Comparator).
Constructor for class jdsl.simple.ref.SequenceSimplePriorityQueue
-
- SequenceStack().
Constructor for class jdsl.simple.ref.SequenceStack
-
- SequenceStack(Object).
Constructor for class jdsl.simple.ref.SequenceStack
-
- setBlack(Position).
Method in class jdsl.simple.ref.SimpleRBTree
-
- setColor(boolean).
Method in class jdsl.simple.ref.RBTItem
-
- setColor(Color).
Method in class jdsl.core.algo.treetraversals.DrawingInfo
-
- setColor(int).
Method in class jdsl.core.ref.RBTLocator
-
- setColor(Position, boolean).
Method in class jdsl.simple.ref.SimpleRBTree
-
- setComparator(Comparator).
Method in class jdsl.core.ref.BTHeap
-
This method establishes a ContainerInterfaces.Comparator that an
ordered container should use to compare its elements.
- setComparator(Comparator).
Method in interface jdsl.core.api.ComparatorBased
-
This method establishes a ContainerInterfaces.Comparator that an
ordered container should use to compare its elements.
- setComparator(Comparator).
Method in class jdsl.core.ref.RBTree
- Sets the Comparator to be used in this container.
- setContainer(Container).
Method in class jdsl.core.ref.GenericPosition
- Sets the container for this position.
- setContainer(Container).
Method in class jdsl.core.ref.LocItem
-
- setContainer(Container).
Method in class jdsl.core.ref.Node
-
- setContainer(Container).
Method in class jdsl.core.ref.PELocator
-
- setContainer(Container).
Method in class jdsl.core.ref.RBTLocator
-
- setCurrent(Position).
Method in class jdsl.core.ref.InOrderIterator
- Sets the Iterator's current Locator to newCurrent.
- setDirectionFrom(Edge, Vertex).
Method in class jdsl.core.ref.FastSILGraph
-
- setDirectionFrom(Edge, Vertex).
Method in interface jdsl.core.api.Graph
- Sets the direction of an edge away from a vertex.
- setDirectionFrom(Edge, Vertex).
Method in class jdsl.core.ref.SILGraph
- Sets the direction of an edge away from a vertex.
- setDirectionTo(Edge, Vertex).
Method in class jdsl.core.ref.FastSILGraph
-
- setDirectionTo(Edge, Vertex).
Method in interface jdsl.core.api.Graph
- Sets the direction of an edge towards a vertex.
- setDirectionTo(Edge, Vertex).
Method in class jdsl.core.ref.SILGraph
- Sets the direction of an edge to a vertex.
- setDistance(Vertex, int).
Method in class jdsl.core.algo.weightedgraphs.MyDijkstra
- Sets the distance to reach a vertex from it origin.
- setElement(Object).
Method in class jdsl.core.ref.AMSGTEdge
-
- setElement(Object).
Method in class jdsl.core.ref.AMSGTVertex
-
- setElement(Object).
Method in class jdsl.core.ref.GenericPosition
- Sets the element for this position.
- setElement(Object).
Method in class jdsl.simple.ref.Item
-
- setElement(Object).
Method in class jdsl.core.ref.MutablePosition
-
- setElement(Object).
Method in class jdsl.core.ref.Node
-
- setElement(Object).
Method in class jdsl.core.ref.PELocator
-
- setElement(Object).
Method in class jdsl.core.ref.RBTLocator
-
- setHeight(int).
Method in class jdsl.simple.ref.AVLItem
-
- setKey(Object).
Method in class jdsl.simple.ref.Item
-
- setKey(Object).
Method in class jdsl.core.ref.RBTLocator
-
- setLeft(Node).
Method in class jdsl.core.ref.Node
-
- setLocator(Vertex, Locator).
Method in class jdsl.core.algo.weightedgraphs.MyDijkstra
- Sets the locator of a vertex in the priority queue.
- setParent(Node).
Method in class jdsl.core.ref.Node
-
- setPosition(Position).
Method in class jdsl.core.ref.LocItem
-
- setPosition(Position).
Method in class jdsl.core.ref.PELocator
-
- setPosition(Position).
Method in class jdsl.core.ref.RBTLocator
-
- setRed(Position).
Method in class jdsl.simple.ref.SimpleRBTree
-
- setRight(Node).
Method in class jdsl.core.ref.Node
-
- setULE(Edge).
Method in class jdsl.core.ref.AMSGTEdge
-
- setULV(Vertex).
Method in class jdsl.core.ref.AMSGTVertex
-
- setWeight(Edge, int).
Method in class jdsl.core.algo.weightedgraphs.MyDijkstra
-
- setX(int).
Method in class jdsl.core.algo.treetraversals.DrawingInfo
-
- setY(int).
Method in class jdsl.core.algo.treetraversals.DrawingInfo
-
- sibling(Position).
Method in class jdsl.core.ref.BTNodeBinaryTree
-
Returns the sibling of a
Position
- sibling(Position).
Method in interface jdsl.core.api.InspectableBinaryTree
-
Gets the sibling
Position
of the
Position
passed in.
- sibling(Position).
Method in class jdsl.core.ref.LinkedBinaryTree
-
- siblings(Position).
Method in class jdsl.core.ref.AMSGraphTree
-
- siblings(Position).
Method in class jdsl.core.algo.graphtraversals.BCTree
-
- siblings(Position).
Method in class jdsl.core.ref.BTNodeBinaryTree
-
The returned Enumeration is guaranteed to give the siblings in
left-to-right order.
- siblings(Position).
Method in interface jdsl.core.api.InspectableTree
-
The returned Enumeration is guaranteed to give the siblings in order from left to right.
- siblings(Position).
Method in class jdsl.core.ref.LinkedBinaryTree
-
- SILEdge(Container, Object, Vertex, Vertex, boolean).
Constructor for class jdsl.core.ref.SILEdge
-
Construct a new edge for use in a SimpleIncidenceListGraph.
- SILGraph().
Constructor for class jdsl.core.ref.SILGraph
- Constructs a new, empty Graph.
- SimpleAVLTree(Comparator).
Constructor for class jdsl.simple.ref.SimpleAVLTree
-
- SimpleBinarySearchTree(Comparator).
Constructor for class jdsl.simple.ref.SimpleBinarySearchTree
-
- SimpleRBTree(Comparator).
Constructor for class jdsl.simple.ref.SimpleRBTree
-
- size().
Method in class jdsl.core.ref.AMSGraphTree
-
- size().
Method in class jdsl.simple.ref.ArrayQueue
-
Return the size of the queue, that is the number of elements it has.
- size().
Method in class jdsl.simple.ref.ArrayStack
-
Return the size of the stack, that is the number of elements it has.
- size().
Method in class jdsl.core.algo.graphtraversals.BCTree
-
- size().
Method in class jdsl.core.ref.BTHeap
-
Number of elements in the container.
- size().
Method in class jdsl.core.ref.BTNodeBinaryTree
-
Returns the size of this container.
- size().
Method in class jdsl.core.ref.CircularNodeSequence
- Gets the number of elements in this container.
- size().
Method in interface jdsl.simple.api.Deque
-
Gets the number of elements.
- size().
Method in class jdsl.simple.ref.DequeStack
-
- size().
Method in class jdsl.core.ref.FastSILGraph
-
- size().
Method in class jdsl.simple.ref.HeapSimplePriorityQueue
-
- size().
Method in class jdsl.core.ref.LinkedBinaryTree
-
- size().
Method in class jdsl.simple.ref.LinkedQueue
-
- size().
Method in class jdsl.simple.ref.LinkedStack
-
- size().
Method in class jdsl.simple.ref.MyDeque
-
Return the size of the deque, that is the number of elements it has.
- size().
Method in class jdsl.core.ref.NodeSequence
- Return the number of elements in the sequence
- size().
Method in interface jdsl.simple.api.Queue
-
Return the number of elements.
- size().
Method in class jdsl.core.ref.RBTree
-
- size().
Method in class jdsl.simple.ref.SequenceSimplePriorityQueue
-
- size().
Method in class jdsl.simple.ref.SequenceStack
-
- size().
Method in class jdsl.core.ref.SILGraph
- Gets the size of this graph.
- size().
Method in class jdsl.simple.ref.SimpleBinarySearchTree
-
- size().
Method in interface jdsl.simple.api.SimpleContainer
-
Return the number of elements stored in the container, where each element is counted
according to is multiplicity.
- size().
Method in interface jdsl.simple.api.Stack
-
Return the number of elements.
- size().
Method in class jdsl.core.ref.VCSVectorCircularSequence
- Gets the number of elements in this container.
- size().
Method in class jdsl.core.ref.VectorSequence
-
Gets the size of this container.
- size(int).
Method in class jdsl.core.ref.BTHeap
- Changes the current size.
- sort(Sequence, Comparator).
Method in class jdsl.core.algo.sorts.ArrayBubbleSort
-
Perform a bubble-sort, assuming atRank(i) is O(1) -- i.e.
- sort(Sequence, Comparator).
Method in class jdsl.core.algo.sorts.ArrayInsertionSort
-
Perform insertion-sort, assuming the Sequence is based
on a vector (O(1) atRank).
The sort proceeds by looking at each element in turn,
and moving them down to where they belong in the sorted
part of the sequence (the beginning).
- sort(Sequence, Comparator).
Method in class jdsl.core.algo.sorts.ArrayMergeSort
-
Performs a merge-sort, assuming the Sequence is vector-based.
- sort(Sequence, Comparator).
Method in class jdsl.core.algo.sorts.ArrayQuickSort
-
- sort(Sequence, Comparator).
Method in class jdsl.core.algo.sorts.ArraySelectionSort
-
Perform selection-sort, assuming the Sequence is based on
a vector.
The sort proceeds by finding the minimum of what's left, and
inserting it at the end of the sorted part of the sequence.
- sort(Sequence, Comparator).
Method in class jdsl.core.algo.sorts.ListBubbleSort
-
Perform a bubble-sort, assuming the sequence is based on a
doubly-linked list.
First inserts a sentinel to avoid needing to check if we're
swapping with the outer loop locator.
- sort(Sequence, Comparator).
Method in class jdsl.core.algo.sorts.ListInsertionSort
-
Perform insertion-sort, assuming the Sequence is based
on a doubly-linked list.
The sort proceeds by looking at each element in S, removing
it, and inserting it in its place in a sorted sequence on
the side.
- sort(Sequence, Comparator).
Method in class jdsl.core.algo.sorts.ListMergeSort
-
- sort(Sequence, Comparator).
Method in class jdsl.core.algo.sorts.ListQuickSort
-
Does quicksort on a linked-list.
- sort(Sequence, Comparator).
Method in class jdsl.core.algo.sorts.ListSelectionSortInPlace
-
Perform selection-sort, assuming the Sequence is
a doubly-linked list.
This sort is an analogue of the array-based selection-sort.
- sort(Sequence, Comparator).
Method in class jdsl.core.algo.sorts.ListSelectionSortWithTemp
-
Perform selection-sort, assuming the Sequence is
a double-linked list.
This implementation repeatedly removes the minimum element
from S and inserts it at the end of a temporary sequence,
which is somewhat more elegant than the array-based version.
- sort(Sequence, Comparator).
Method in interface jdsl.core.algo.sorts.SortObject
-
- splice(Position, CircularSequence, Position).
Method in class jdsl.core.ref.CircularNodeSequence
-
Merges in another
CircularNodeSequence
after a given
position.
- splice(Position, CircularSequence, Position).
Method in interface jdsl.core.api.CircularSequence
-
Merges in another
CircularSequence
after a given position.
- splice(Position, CircularSequence, Position).
Method in class jdsl.core.ref.VCSVectorCircularSequence
-
Merges in another
CircularNodeSequence
after a given
position.
- split(Position, Position).
Method in class jdsl.core.ref.CircularNodeSequence
-
Snips out a chain of nodes from this
CircularSequence,
repairs this CircularSequence,
and makes a new
CircularSequence
with the snipped-out nodes.
- split(Position, Position).
Method in interface jdsl.core.api.CircularSequence
-
Snips out a chain of nodes from this
CircularSequence,
repairs this CircularSequence,
and makes a new
CircularSequence
with the snipped-out nodes.
- split(Position, Position).
Method in class jdsl.core.ref.VCSVectorCircularSequence
-
Snips out a chain of nodes from this
CircularSequence,
repairs this CircularSequence,
and makes a new
CircularSequence
with the snipped-out nodes.
- StackEmptyException(String).
Constructor for class jdsl.simple.api.StackEmptyException
-
- StackFullException(String).
Constructor for class jdsl.simple.ref.StackFullException
-
- startingPosition().
Method in class jdsl.core.ref.CircularNodeSequence
- Returns an arbitrary starting
Position
in this
CircularSequence
.
- startingPosition().
Method in interface jdsl.core.api.CircularSequence
-
Since there's no
first()
or last()
in a circular
sequence, a method is needed that will give a position -- any position --
in the circular sequence, to get things started.
- startingPosition().
Method in class jdsl.core.ref.VCSVectorCircularSequence
- Returns an arbitrary starting
Position
in this
CircularSequence
.
- startVisit(Vertex).
Method in class jdsl.core.algo.graphtraversals.BiconnectivityAnalyzer
- Called when a vertex is visited.
- startVisit(Vertex).
Method in class jdsl.core.algo.graphtraversals.DFS
- Called when a vertex is visited.
- startVisit(Vertex).
Method in class jdsl.core.algo.graphtraversals.FindAllVerticesDFS
- Called when a vertex is visited.
- startVisit(Vertex).
Method in class jdsl.core.algo.graphtraversals.FindCycleDFS
- Called when a vertex is visited.
- startVisit(Vertex).
Method in class jdsl.core.algo.graphtraversals.FindPathDFS
- Called when a vertex is visited.
- StringComparator().
Constructor for class jdsl.core.ref.StringComparator
-
- swap(Position, Position).
Method in class jdsl.core.ref.AMSGraphTree
-
- swap(Position, Position).
Method in class jdsl.core.algo.graphtraversals.BCTree
-
- swap(Position, Position).
Method in class jdsl.core.ref.BTNodeBinaryTree
-
Swaps the elements associated with the two
Positions
,
leaving the Positions
themselves "where" they were.
- swap(Position, Position).
Method in class jdsl.core.ref.CircularNodeSequence
- Swaps the elements at two specified positions.
- swap(Position, Position).
Method in class jdsl.core.ref.DumbEnumerationNodeSequence
- Swap elements of two positions
- swap(Position, Position).
Method in class jdsl.core.ref.FastEnumerationNodeSequence
- Swap elements of two positions
- swap(Position, Position).
Method in class jdsl.core.ref.FastSILGraph
-
- swap(Position, Position).
Method in class jdsl.core.ref.LinkedBinaryTree
-
- swap(Position, Position).
Method in class jdsl.core.ref.NodeSequence
- Swap elements of two positions
- swap(Position, Position).
Method in interface jdsl.core.api.PositionalContainer
- Swaps the elements at two specified positions.
- swap(Position, Position).
Method in class jdsl.core.ref.SILGraph
- Swaps the elements of two positions.
- swap(Position, Position).
Method in class jdsl.simple.ref.SimpleBinarySearchTree
-
- swap(Position, Position).
Method in class jdsl.simple.ref.SimpleRBTree
-
- swap(Position, Position).
Method in class jdsl.core.ref.VCSVectorCircularSequence
- Swaps the elements at two specified positions.
- swap(Position, Position).
Method in class jdsl.core.ref.VectorSequence
-
Swaps the elements associated with the two Positions, leaving the
Positions themselves "where" they were.
- swapColor(Position, Position).
Method in class jdsl.simple.ref.SimpleRBTree
-