senninek - 2009-02-19 07:37:10
I am using this class in my project. When my graf has about 20 nodes, calculations the way from one node to another (for every node) crashes apache. This is a sample of my code:
$cutoff = array();
for($i=0;$i<$limit;++$i){
if($i != $capital_index){
$border -> ways_from_point_to_point($capital_index, $i);
if(empty($border -> routs)){
$cutoff[] = $i;
}
}
}
This piece of code is generating problem. Maybe I don't know something about this lib.