- setCost(float) - Method in class jto.p5graphtheory.Edge
-
This allows you to associate a cost with the edge.
- setLocation(PVector) - Method in class jto.p5graphtheory.Vertex
-
This changes the location of the Vertex
.
- setVertexA(Vertex) - Method in class jto.p5graphtheory.Edge
-
Setter for Vertex A.
- setVertexA(Vertex) - Method in class jto.p5graphtheory.Triangle
-
Setter for Vertex A.
- setVertexB(Vertex) - Method in class jto.p5graphtheory.Edge
-
Setter for Vertex B.
- setVertexB(Vertex) - Method in class jto.p5graphtheory.Triangle
-
Setter for Vertex B.
- setVertexC(Vertex) - Method in class jto.p5graphtheory.Triangle
-
Setter for Vertex C.
- setVisited(boolean) - Method in class jto.p5graphtheory.Vertex
-
Setter for the boolean visited field.
- setX(float) - Method in class jto.p5graphtheory.Vertex
-
Setter for the x-coordinate.
- setY(float) - Method in class jto.p5graphtheory.Vertex
-
Setter for the y-coordinate.
- setZ(float) - Method in class jto.p5graphtheory.Vertex
-
Setter for the z-coordinate.
- sharesVertex(Triangle) - Method in class jto.p5graphtheory.Triangle
-
This tests to see if any of the vertices of this Triangle
are the same as any of the vertices of another Triangle
.
- spanningTree(Graph, Vertex) - Static method in class jto.p5graphtheory.Graph
-
This is a breadth-first algorithm for finding a spanning
tree of the given Graph
starting from the specified
Vertex
.