Package edu.cmu.tetrad.study.performance
Class ComparisonResult
java.lang.Object
edu.cmu.tetrad.study.performance.ComparisonResult
. Result of a comparison.
- Version:
- $Id: $Id
- Author:
- josephramsey 2016.03.24
-
Constructor Summary
ConstructorsConstructorDescriptionComparisonResult
(ComparisonParameters params) Constructor for ComparisonResult. -
Method Summary
Modifier and TypeMethodDescriptionGetter for the fieldcorrectResult
.long
Getter for the fieldelapsed
.Getter for the fieldparams
.Getter for the fieldresultGraph
.Getter for the fieldtrueDag
.void
setCorrectResult
(Graph correctResult) Setter for the fieldcorrectResult
.void
setElapsed
(long elapsed) Setter for the fieldelapsed
.void
setResultGraph
(Graph graph) Setter for the fieldresultGraph
.void
setTrueDag
(Graph trueDag) Setter for the fieldtrueDag
.toString()
toString.
-
Constructor Details
-
ComparisonResult
Constructor for ComparisonResult.
- Parameters:
params
- aComparisonParameters
object
-
-
Method Details
-
getResultGraph
Getter for the field
resultGraph
.- Returns:
- a
Graph
object
-
setResultGraph
Setter for the field
resultGraph
.- Parameters:
graph
- aGraph
object
-
getElapsed
public long getElapsed()Getter for the field
elapsed
.- Returns:
- a long
-
setElapsed
public void setElapsed(long elapsed) Setter for the field
elapsed
.- Parameters:
elapsed
- a long
-
getTrueDag
Getter for the field
trueDag
.- Returns:
- a
Graph
object
-
setTrueDag
Setter for the field
trueDag
.- Parameters:
trueDag
- aGraph
object
-
getCorrectResult
Getter for the field
correctResult
.- Returns:
- a
Graph
object
-
setCorrectResult
Setter for the field
correctResult
.- Parameters:
correctResult
- aGraph
object
-
toString
toString.
-
getParams
Getter for the field
params
.- Returns:
- a
ComparisonParameters
object
-