Class GraspTol

java.lang.Object
edu.cmu.tetrad.search.work_in_progress.GraspTol

public class GraspTol extends Object
Implements the GRASP algorithms, with various execution flags.
Author:
bryanandrews, josephramsey
  • Constructor Details

    • GraspTol

      public GraspTol(@NotNull @NotNull Score score)
    • GraspTol

      public GraspTol(@NotNull @NotNull IndependenceTest test)
    • GraspTol

      public GraspTol(@NotNull @NotNull IndependenceTest test, Score score)
    • GraspTol

      public GraspTol(List<Node> variables)
  • Method Details

    • bestOrder

      public List<Node> bestOrder(@NotNull @NotNull List<Node> order)
    • betterMutation

      public void betterMutation(@NotNull @NotNull TeyssierScorer scorer)
    • getNumEdges

      public int getNumEdges()
    • grasp

      public List<Node> grasp(@NotNull @NotNull TeyssierScorer scorer)
    • getGraph

      @NotNull public @NotNull Graph getGraph(boolean cpDag)
    • setNumStarts

      public void setNumStarts(int numStarts)
    • getVariables

      public List<Node> getVariables()
    • isVerbose

      public boolean isVerbose()
    • setVerbose

      public void setVerbose(boolean verbose)
    • setKnowledge

      public void setKnowledge(Knowledge knowledge)
    • setDepth

      public void setDepth(int depth)
    • setUncoveredDepth

      public void setUncoveredDepth(int uncoveredDepth)
    • setNonSingularDepth

      public void setNonSingularDepth(int nonSingularDepth)
    • setUseScore

      public void setUseScore(boolean useScore)
    • setOrdered

      public void setOrdered(boolean ordered)
    • setUseRaskuttiUhler

      public void setUseRaskuttiUhler(boolean usePearl)
    • setUseDataOrder

      public void setUseDataOrder(boolean useDataOrder)
    • setAllowRandomnessInsideAlgorithm

      public void setAllowRandomnessInsideAlgorithm(boolean allowRandomnessInsideAlgorithm)
    • setToleranceDepth

      public void setToleranceDepth(int toleranceDepth)