src/ADT/Graph/Weighted.php
public function getSourceNodes( $target )
	{
		$nodes = array();
		foreach( $this->getNodes() as $node )
			if( $this->isEdge( $node, $target ) )
				$nodes[] = $node;
		return $nodes;
	}
public function getSourceNodes( $target )
	{
		$nodes = array();
		foreach( $this->getNodes() as $node )
			if( $this->isEdge( $node, $target ) )
				$nodes[] = $node;
		return $nodes;
	}
public function getSourceNodes ( $ target ) { $ nodes = array ( ) ; foreach ( $ this -> getNodes ( ) as $ node ) if ( $ this -> isEdge ( $ node , $ target ) ) $ nodes [ ] = $ node ; return $ nodes ; }
Returns an array of source Nodes of this Node.
@access		public
@param		ADT_Graph_Node	$target		Target Node of this Edge
@return		array
Returns an array of source Nodes of this Node .