Class CompleteGraphMatcher<T extends ICompleteGraph>
- java.lang.Object
-
- com.actelion.research.util.graph.complete.CompleteGraphMatcher<T>
-
public class CompleteGraphMatcher<T extends ICompleteGraph> extends java.lang.Object
CompleteGraphMatcherCopyright: Actelion Ltd., Inc. All Rights Reserved This software is the proprietary information of Actelion Pharmaceuticals, Ltd. Use is subject to license terms.
- Version:
- 1.0 Sep 26, 2012 MvK: Start implementation
- Author:
- Modest von Korff
-
-
Field Summary
Fields Modifier and Type Field Description static boolean
DEBUG
static byte
DEFAULT_VAL
static int
MAX_NUM_NODES
static int
MAX_NUM_SOLUTIONS
static int
MIN_NUM_NODES_SIM
-
Constructor Summary
Constructors Constructor Description CompleteGraphMatcher(IObjectiveCompleteGraph<T> objectiveCompleteGraph)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
calculateSimilarity()
SolutionCompleteGraph
getBestMatchingSolution()
long
getCreatedSolutions()
IObjectiveCompleteGraph<T>
getObjectiveCompleteGraph()
long
getValidSolutions()
void
set(T cgBase, T cgQuery)
void
setMaxNumSolutions(int maxNumSolutions)
void
setObjective(IObjectiveCompleteGraph<T> objectiveCompleteGraph)
void
setVerbose(boolean verbose)
-
-
-
Field Detail
-
DEBUG
public static final boolean DEBUG
- See Also:
- Constant Field Values
-
MIN_NUM_NODES_SIM
public static final int MIN_NUM_NODES_SIM
- See Also:
- Constant Field Values
-
MAX_NUM_NODES
public static final int MAX_NUM_NODES
- See Also:
- Constant Field Values
-
MAX_NUM_SOLUTIONS
public static final int MAX_NUM_SOLUTIONS
- See Also:
- Constant Field Values
-
DEFAULT_VAL
public static final byte DEFAULT_VAL
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CompleteGraphMatcher
public CompleteGraphMatcher(IObjectiveCompleteGraph<T> objectiveCompleteGraph)
-
-
Method Detail
-
setObjective
public void setObjective(IObjectiveCompleteGraph<T> objectiveCompleteGraph)
- Parameters:
objectiveCompleteGraph
-
-
setVerbose
public void setVerbose(boolean verbose)
-
getObjectiveCompleteGraph
public IObjectiveCompleteGraph<T> getObjectiveCompleteGraph()
-
calculateSimilarity
public double calculateSimilarity()
-
getBestMatchingSolution
public SolutionCompleteGraph getBestMatchingSolution()
-
getValidSolutions
public long getValidSolutions()
-
getCreatedSolutions
public long getCreatedSolutions()
-
setMaxNumSolutions
public void setMaxNumSolutions(int maxNumSolutions)
-
-