PHP Class Trismegiste\Mondrian\Graph\Algorithm
Algorithm is an algorithm on Graph. This class does nothing except
wrapping the graph. It is intended to avoid copy/paste of this content
for real algorithms. See it as a default implementation. Therefore
you only need to subclass this decorator and add your methods.
It is not abstract since I want to test it but the spirit is :)
Afficher le fichier
Open project: trismegiste/mondrian
Protected Properties
Свойство |
Type |
Description |
|
$graph |
|
|
|
Méthodes publiques
Method Details
__construct()
public méthode
public __construct ( Trismegiste\Mondrian\Graph\Graph $g ) |
$g |
Trismegiste\Mondrian\Graph\Graph |
|
public addEdge ( Vertex $source, Vertex $target ) |
$source |
Vertex |
|
$target |
Vertex |
|
addVertex()
public méthode
getEdgeIterator()
public méthode
getEdgeSet()
public méthode
getPartition()
public méthode
getSuccessor()
public méthode
getVertexSet()
public méthode
searchEdge()
public méthode
public searchEdge ( Vertex $source, Vertex $target ) |
$source |
Vertex |
|
$target |
Vertex |
|
Property Details
$graph protected_oe property