src/ADT/Graph/NodeSet.php
private function getNodeIndex( $node )
	{
		for( $i=0; $i<$this->count(); $i++ )
			if( $this->nodes[$i] == $node )
				return $i;
		return NULL;
	}
private function getNodeIndex( $node )
	{
		for( $i=0; $i<$this->count(); $i++ )
			if( $this->nodes[$i] == $node )
				return $i;
		return NULL;
	}
private function getNodeIndex ( $ node ) { for ( $ i = 0 ; $ i < $ this -> count ( ) ; $ i ++ ) if ( $ this -> nodes [ $ i ] == $ node ) return $ i ; return NULL ; }
Returns index of a node in this NodeSet.
@access		private
@param		ADT_Graph_Node		$node			Node to get index for
@return 	int
Returns index of a node in this NodeSet .