SGMP function will return the path set according to given map. This code can be executed from MATLAB command window. Detailed information is given below.
[Usage]:
>> [pathSet, execTime, dag] =
sgmp( map, sp, dp, setSize, numPt );
[Description]
pathSet - A set of path that contains "setSize" paths
execTime - A history of execution time for creating each path
dag - A Directed Acyclic Graph created by SGMP
map - A map specified in the binary square matrix [
Download]
sp - The index of starting node
dp - The index of destination node
setSize - The number of paths to be created from DAG
numPt - The maximum number of allowable parents node
For more detailed information, please type "help sgmp" from MATLAB command window.
Other miscellaneous functions are also included in the ZIP package.
[Usage]:
>>
draw_path( map, path ); - it will draw the obtained path.
>>
draw_dag( map, dag ); - it will draw the obtaind DAG.