Package edu.cmu.tetrad.annotation
Class AlgorithmAnnotations
java.lang.Object
edu.cmu.tetrad.annotation.AbstractAnnotations<Algorithm>
edu.cmu.tetrad.annotation.AlgorithmAnnotations
Annotations for algorithms.
Sep 26, 2017 12:19:41 AM
- Version:
- $Id: $Id
- Author:
- Kevin V. Bui (kvb2@pitt.edu)
-
Method Summary
Modifier and TypeMethodDescriptionFilters out algorithms that are not for the given data type.static AlgorithmAnnotations
Gets the instance of this class.boolean
handlesUnmeasuredConfounder
(Class clazz) Checks if the algorithm handles unmeasured confounders.boolean
requiresIndependenceTest
(Class clazz) Checks if the algorithm requires independence test.boolean
requiresScore
(Class clazz) Checks if the algorithm requires a score.boolean
takesExternalGraph
(Class clazz) Checks if the algorithm takes an external graph.boolean
takesKnowledge
(Class clazz) Checks if the algorithm takes knowledge.boolean
takesMultipleDataset
(Class clazz) Checks if the algorithm takes multiple data sets.Methods inherited from class edu.cmu.tetrad.annotation.AbstractAnnotations
filterByAnnotation, filterOutByAnnotation, getAnnotatedClasses
-
Method Details
-
getInstance
Gets the instance of this class.- Returns:
- instance of this class
-
filterOutExperimental
Filters out algorithms that are not for the given data type.- Parameters:
list
- list of algorithms- Returns:
- list of algorithms that are not for the given data type
-
takesMultipleDataset
Checks if the algorithm takes multiple data sets.- Parameters:
clazz
- algorithm class- Returns:
- true if the algorithm takes multiple data sets
-
takesKnowledge
Checks if the algorithm takes knowledge.- Parameters:
clazz
- algorithm class- Returns:
- true if the algorithm takes knowledge
-
takesExternalGraph
Checks if the algorithm takes an external graph.- Parameters:
clazz
- algorithm class- Returns:
- true if the algorithm takes an external graph
-
requiresIndependenceTest
Checks if the algorithm requires independence test.- Parameters:
clazz
- algorithm class- Returns:
- true if the algorithm requires independence test
-
requiresScore
Checks if the algorithm requires a score.- Parameters:
clazz
- algorithm class- Returns:
- true if the algorithm requires a score
-
handlesUnmeasuredConfounder
Checks if the algorithm handles unmeasured confounders.- Parameters:
clazz
- algorithm class- Returns:
- true if the algorithm handles unmeasured confounders
-