|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.aerith.misao.util.TriangleMatchingSolver.TriGraph
The TriGraph
represents a graph which has function
to create triangles from itself.
Field Summary | |
protected Graph |
graph
The graph to create triangles from. |
Constructor Summary | |
TriangleMatchingSolver.TriGraph(Graph graph)
Constructs a TriGraph with a Graph . |
Method Summary | |
TriangleMatchingSolver.TriIndex[] |
createTriangles(int steps)
Creates triangles from the graph, only based on the nodes connected within the specified steps. |
Methods inherited from class java.lang.Object |
|
Field Detail |
protected Graph graph
Constructor Detail |
public TriangleMatchingSolver.TriGraph(Graph graph)
TriGraph
with a Graph
.graph
- the graph object.Method Detail |
public TriangleMatchingSolver.TriIndex[] createTriangles(int steps)
steps
- the upper limit of steps to search nodes to
create a triangle.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |