PHP 클래스 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 :)
파일 보기
프로젝트 열기: trismegiste/mondrian
보호된 프로퍼티들
공개 메소드들
메소드 상세
public __construct ( Trismegiste\Mondrian\Graph\Graph $g ) |
$g |
Trismegiste\Mondrian\Graph\Graph |
|
public addEdge ( Vertex $source, Vertex $target ) |
$source |
Vertex |
|
$target |
Vertex |
|
public searchEdge ( Vertex $source, Vertex $target ) |
$source |
Vertex |
|
$target |
Vertex |
|
프로퍼티 상세