Package edu.cmu.tetrad.graph
Class Underlines
java.lang.Object
edu.cmu.tetrad.graph.Underlines
- All Implemented Interfaces:
TripleClassifier
,TetradSerializable
,Serializable
Underlines class.
- Version:
- $Id: $Id
- Author:
- josephramsey
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnderlines
(Graph graph) Constructor for Underlines.Underlines
(Underlines underlineModel) Constructor for Underlines. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addAmbiguousTriple
(Node x, Node y, Node z) addAmbiguousTriple.void
addDottedUnderlineTriple
(Node x, Node y, Node z) addDottedUnderlineTriple.void
addUnderlineTriple
(Node x, Node y, Node z) addUnderlineTriple.Getter for the fieldambiguousTriples
.getDottedUnderlines.getTriplesClassificationTypes.getTriplesLists
(Node node) getTriplesLists.getUnderLines.boolean
isAmbiguousTriple
(Node x, Node y, Node z) States whether r-s-r is an underline triple or not.boolean
isUnderlineTriple
(Node x, Node y, Node z) States whether r-s-r is an underline triple or not.void
removeAmbiguousTriple
(Node x, Node y, Node z) removeAmbiguousTriple.void
removeDottedUnderlineTriple
(Node x, Node y, Node z) removeDottedUnderlineTriple.void
removeTriplesNotInGraph.void
removeUnderlineTriple
(Node x, Node y, Node z) removeUnderlineTriple.void
setAmbiguousTriples
(Set<Triple> triples) Setter for the fieldambiguousTriples
.void
setDottedUnderLineTriples
(Set<Triple> triples) Setter for the fielddottedUnderLineTriples
.void
setUnderLineTriples
(Set<Triple> triples) Setter for the fieldunderLineTriples
.
-
Constructor Details
-
Underlines
Constructor for Underlines.
- Parameters:
graph
- aGraph
object
-
Underlines
Constructor for Underlines.
- Parameters:
underlineModel
- aUnderlines
object
-
-
Method Details
-
getAmbiguousTriples
Getter for the field
ambiguousTriples
.- Returns:
- a
Set
object
-
setAmbiguousTriples
Setter for the field
ambiguousTriples
.- Parameters:
triples
- aSet
object
-
getUnderLines
getUnderLines.
- Returns:
- a
Set
object
-
getDottedUnderlines
getDottedUnderlines.
- Returns:
- a
Set
object
-
isAmbiguousTriple
States whether r-s-r is an underline triple or not. -
isUnderlineTriple
States whether r-s-r is an underline triple or not. -
addAmbiguousTriple
addAmbiguousTriple.
-
addUnderlineTriple
addUnderlineTriple.
-
addDottedUnderlineTriple
addDottedUnderlineTriple.
-
removeAmbiguousTriple
removeAmbiguousTriple.
-
removeUnderlineTriple
removeUnderlineTriple.
-
removeDottedUnderlineTriple
removeDottedUnderlineTriple.
-
setUnderLineTriples
Setter for the field
underLineTriples
.- Parameters:
triples
- aSet
object
-
setDottedUnderLineTriples
Setter for the field
dottedUnderLineTriples
.- Parameters:
triples
- aSet
object
-
removeTriplesNotInGraph
public void removeTriplesNotInGraph()removeTriplesNotInGraph.
-
getTriplesClassificationTypes
getTriplesClassificationTypes.
- Specified by:
getTriplesClassificationTypes
in interfaceTripleClassifier
- Returns:
- the names of the triple classifications. Coordinates with
getTriplesList
-
getTriplesLists
getTriplesLists.
- Specified by:
getTriplesLists
in interfaceTripleClassifier
- Parameters:
node
- aNode
object- Returns:
- a
List
object
-