Esempio n. 1
0
 /**
  * Remove the given edge from the graph
  *
  * Removes the given edge from the graph, but keep the associated nodes.
  *
  * Returns false, if one of the nodes did not exist, and true otherwise.
  * 
  * @param string $src 
  * @param string $dst 
  * @return bool
  */
 public function removeEdge($src, $dst)
 {
     if (parent::removeEdge($src, $dst)) {
         unset($this->reverseEdges[(string) $dst][(string) $src]);
         return true;
     }
     return false;
 }