allSimplePaths:ArrayCollection
Implementation public function get allSimplePaths():ArrayCollection public function set allSimplePaths(value:ArrayCollection):voidprotected var found_:Boolean
protected var graphRef_:GraphBoard
path:Array [read-only]
Copy of route found by search that succeeds
Implementation public function get path():Arrayprotected var path_:Array
pathRef:Array [read-only]
Reference to route found by search that succeeds
Implementation public function get pathRef():Arrayprotected var route_:Array
public function SearcherBase(graph:GraphBoard )
Constructor
Parameters protected function saveToAllSimplePaths(visited:ArrayCollection):void
restore founded all simple path(s);
Parameters
public function search(src:int, dst:int):Boolean
Search execution
Parameters
src :int — Starting point
dst :int — Terminal point
Returns Boolean — When it exists, it is true, and a pertinent route is false when not existing.
public function searchAll(src:int, dst:int, visited:ArrayCollection):void
Parameters
src :int — Starting point
dst :int — Terminal point
visited :ArrayCollection — A linked list of visited node.
Information on this site is by default visible to everyone within GODPAPER. Please ensure you apply appropriate access controls when posting GODPAPER Confidential information.Copyright © by GODPAPER. All material on this collaboration platform is the property of GODPAPER. Thu Jan 16 2014, 01:11 PM +08:00