Expand description
Square 2d Lattice Graph. It does not use lattice_abstract for historical and performance reason.
Structs§
- Edge
Index - Edge Index of [
SquareGraph]. - Edge
Reference - Reference of Edge data (EdgeIndex, EdgeWeight, direction) in
SquareGraph. - Edge
References - Iterator for all edges of
SquareGraph. SeeIntoEdgeReferences. - Edges
- Edges connected to a node. See
edges. - Neighbors
- Neighbors of the node. See
neighbors. - Node
Index - Node index for [
SquareGraph] - Node
Indices - Iterate all index of
SquareGraph. Seenode_identifiers. - Node
References - Iterate all nodes of
SquareGraph. Seenode_references. - Square
Graph - Undirected Square Grid Graph. It is has rectangle shape.
- VisMap
VisitMapofSquareGraph.
Enums§
- Axis
- Axis of the Square grid.
- Default
Shape - Marker that the graph does not loop.
- HVLoop
- Marker that the graph does loops in horizontal and vertical axis.
- Horizontal
Loop - Marker that the graph does loops in horizontal axis.
- Square
Direction - Direction of Axis.
- Vertical
Loop - Marker that the graph does loops in vertical axis.
Traits§
- Shape
- Shape of the
SquareGraph. It tells that the graph loops or not. - Size
Info - It holds a infomation of size of graph if needed.
This is used in
EdgeReferenceto tell the loop info. This trick is to optimize when there is no loop in graph.