A graph used by the constraints system. 更多...
#include <ColoringGraph.h>
Public 成员函数 | |
| void | Colorize () |
| Assign a color to all vertices. 更多... | |
| void | Islandize () |
| Assign each vertex to an island. 更多... | |
| void | Levelize () |
| Assign a "level" to all vertices. 更多... | |
A graph used by the constraints system.
Supports
| void Chaos::FColoringGraph::Colorize | ( | ) |
Assign a color to all vertices.
Vertices of the same color do not share any edges (i.e., are not directly connected).
| void Chaos::FColoringGraph::Islandize | ( | ) |
Assign each vertex to an island.
Vertcies in different islands are isolated from each other - thee is no path which connectes them.
| void Chaos::FColoringGraph::Levelize | ( | ) |
Assign a "level" to all vertices.
Level is the distance from a Vertex with Level = 0 (Level 0 vertices are specified by the user with SetVertexLevel)