Examples of checkCycle()


Examples of prolog.core.Cat.checkCycle()

   
    Cat RG=Params.randomCat(seed,v0,v,e0,e);
    ObjectStack S=new ObjectStack();
    do
      RG.runGraphRanker();RG.markComponents();RG.rankSort();
      int cycles=RG.checkCycle();
     
      S.push(RG);

      Prolog3D.pp("\nas saved:"+RG);
      Prolog3D.pp("cycles="+cycles+",size="+RG.size());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.