Package edu.cmu.tetrad.search
Class CcdMax
java.lang.Object
edu.cmu.tetrad.search.CcdMax
- All Implemented Interfaces:
GraphSearch
This is an optimization of the CCD (Cyclic Causal Discovery) algorithm by Thomas Richardson.
- Author:
- Joseph Ramsey
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getDepth()
long
int
search()
void
setApplyOrientAwayFromCollider
(boolean applyOrientAwayFromCollider) void
setCollapseTiers
(boolean collapseTiers) void
setDepth
(int depth) void
setDoColliderOrientations
(boolean doColliderOrientations) void
setKnowledge
(Knowledge knowledge) void
setMaxPathLength
(int maxPathLength) void
setOrientConcurrentFeedbackLoops
(boolean orientConcurrentFeedbackLoops) void
setUseHeuristic
(boolean useHeuristic) void
setUseOrientTowardDConnections
(boolean useOrientTowardDConnections)
-
Constructor Details
-
CcdMax
-
-
Method Details
-
search
- Specified by:
search
in interfaceGraphSearch
-
getDepth
public int getDepth()- Returns:
- The depth of search for the Fast Adjacency Search.
-
setDepth
public void setDepth(int depth) - Parameters:
depth
- The depth of search for the Fast Adjacency Search.
-
getElapsedTime
public long getElapsedTime()- Returns:
- The elapsed time in milliseconds.
-
setApplyOrientAwayFromCollider
public void setApplyOrientAwayFromCollider(boolean applyOrientAwayFromCollider) - Parameters:
applyOrientAwayFromCollider
- True if the orient away from collider rule should be applied.
-
getKnowledge
-
setKnowledge
-
setUseHeuristic
public void setUseHeuristic(boolean useHeuristic) -
getMaxPathLength
public int getMaxPathLength() -
setMaxPathLength
public void setMaxPathLength(int maxPathLength) -
setUseOrientTowardDConnections
public void setUseOrientTowardDConnections(boolean useOrientTowardDConnections) -
setOrientConcurrentFeedbackLoops
public void setOrientConcurrentFeedbackLoops(boolean orientConcurrentFeedbackLoops) -
setDoColliderOrientations
public void setDoColliderOrientations(boolean doColliderOrientations) -
setCollapseTiers
public void setCollapseTiers(boolean collapseTiers)
-