Package edu.cmu.tetrad.search.score
Class ScoredGraph
java.lang.Object
edu.cmu.tetrad.search.score.ScoredGraph
- All Implemented Interfaces:
TetradSerializable
,Serializable
,Comparable<ScoredGraph>
Stores a graph with a score for the graph. The equals, hashcode, and compare methods are overridden so that it will
be easy to put these stored graphs into sets and lists.
- Author:
- josephramsey
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(@NotNull ScoredGraph o) boolean
getGraph()
double
getScore()
int
hashCode()
static ScoredGraph
-
Constructor Details
-
ScoredGraph
-
-
Method Details
-
serializableInstance
-
getGraph
-
getScore
public double getScore() -
hashCode
public int hashCode() -
equals
-
compareTo
- Specified by:
compareTo
in interfaceComparable<ScoredGraph>
-