[Structures_Graph] element index

All elements
a c g i m n o r s t u
a
top
addNode
Add a Node to the Graph
AcyclicTest.php
AcyclicTest.php in AcyclicTest.php
c
top
connectsTo
Test wether this node has an arc to the target node
connectTo
Connect this node to another one.
g
top
getData
Node data getter.
getGraph
Node graph getter
getMetadata
Node metadata getter
getNeighbours
Return nodes connected to this one.
getNodes
Return the node set, in no particular order. For ordered node sets, use a Graph Manipulator insted.
Graph.php
Graph.php in Graph.php
i
top
inDegree
Calculate the in degree of the node.
isAcyclic
isAcyclic returns true if a graph contains no cycles, false otherwise.
isDirected
Return true if a graph is directed
m
top
metadataKeyExists
Test for existence of metadata under a given key.
n
top
Node.php
Node.php in Node.php
o
top
outDegree
Calculate the out degree of the node.
r
top
removeNode
Remove a Node from the Graph
s
top
setData
Node data setter
setGraph
Node graph setter. This method should not be called directly. Use Graph::addNode instead.
setMetadata
Node metadata setter
sort
sort returns the graph's nodes, sorted by topological order.
Structures_Graph
Structures_Graph in Graph.php
The Structures_Graph class represents a graph data structure.
Structures_Graph
Constructor
STRUCTURES_GRAPH_ERROR_GENERIC
Structures_Graph_Manipulator_AcyclicTest
The Structures_Graph_Manipulator_AcyclicTest is a graph manipulator which tests whether a graph contains a cycle.
Structures_Graph_Manipulator_TopologicalSorter
The Structures_Graph_Manipulator_TopologicalSorter is a manipulator which is able to return the set of nodes in a graph, sorted by topological order.
Structures_Graph_Node
Constructor
Structures_Graph_Node
The Structures_Graph_Node class represents a Node that can be member of a graph node set.
t
top
TopologicalSorter.php
TopologicalSorter.php in TopologicalSorter.php
u
top
unsetMetadata
Delete metadata by key
a c g i m n o r s t u