public class Clique extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Clique.MaxScoreComparator
Comparator based on the max score of a clique.
|
static class |
Clique.Type |
Constructor and Description |
---|
Clique(List<GraphNode> nodes,
PotentialFunction f,
Parameter weight) |
Clique(List<GraphNode> nodes,
PotentialFunction f,
Parameter param,
float importance,
Clique.Type type,
boolean docDependent) |
Modifier and Type | Method and Description |
---|---|
String |
getConcept()
Returns a textual representation of the term nodes in this clique.
|
float |
getImportance()
Returns the clique-dependent importance.
|
float |
getMaxScore()
Returns the max score.
|
int |
getNextCandidate()
Returns the next candidate document.
|
List<GraphNode> |
getNodes()
Returns nodes in this clique.
|
Parameter |
getParameter()
Returns the parameter associated with this clique.
|
float |
getPotential()
Returns the potential of this clique.
|
PotentialFunction |
getPotentialFunction()
Returns the potential function associated with this clique.
|
Clique.Type |
getType()
Returns the clique type.
|
float |
getWeight()
Returns the weight associated with this clique
|
void |
initialize(GlobalEvidence globalEvidence)
Initializes this clique.
|
boolean |
isDocDependent()
Returns whether or not this clique is document dependent.
|
void |
setImportance(float w)
Sets the clique-dependent importance.
|
void |
setNextCandidate(int docid)
Sets the next candidate for evaluation.
|
void |
setParameterName(String name)
Sets the parameter name.
|
void |
setParameterWeight(float weight)
Sets the parameter weight.
|
void |
setType(Clique.Type type)
Sets the clique type.
|
String |
toString() |
String |
toString(boolean verbose) |
public Clique(List<GraphNode> nodes, PotentialFunction f, Parameter weight)
public Clique(List<GraphNode> nodes, PotentialFunction f, Parameter param, float importance, Clique.Type type, boolean docDependent)
public String getConcept()
public float getImportance()
public float getMaxScore()
public int getNextCandidate()
public Parameter getParameter()
public float getPotential()
public PotentialFunction getPotentialFunction()
public Clique.Type getType()
public float getWeight()
public void initialize(GlobalEvidence globalEvidence) throws ConfigurationException
ConfigurationException
public boolean isDocDependent()
public void setImportance(float w)
public void setNextCandidate(int docid)
public void setParameterName(String name)
public void setParameterWeight(float weight)
public void setType(Clique.Type type)
public String toString(boolean verbose)