src/ADT/Graph/NodeSet.php
public function removeNode( $node )
	{
		if( !$this->isNode( $node ) )
			throw new Exception( 'Edge is not existing.' );
		$index = $this->getNodeIndex( $node );
		unset( $this->nodes[$index] );
		sort( $this->nodes );
	}
public function removeNode( $node )
	{
		if( !$this->isNode( $node ) )
			throw new Exception( 'Edge is not existing.' );
		$index = $this->getNodeIndex( $node );
		unset( $this->nodes[$index] );
		sort( $this->nodes );
	}
public function removeNode ( $ node ) { if ( ! $ this -> isNode ( $ node ) ) throw new Exception ( 'Edge is not existing.' ) ; $ index = $ this -> getNodeIndex ( $ node ) ; unset ( $ this -> nodes [ $ index ] ) ; sort ( $ this -> nodes ) ; }
Removing a node.
@access		public
@param		ADT_Graph_Node		$node			Node to be removed
@return 	void
Removing a node .