|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnz.ac.waikato.mcennis.rat.graph.model.ModelShell
nz.ac.waikato.mcennis.rat.graph.algorithm.similarity.HierarchyByCooccurance
public class HierarchyByCooccurance
Initial algorithm for creating an ontology from a folksonomy. Utilizes dispersion to determine terms that are specializations of another term. Also determines a set of terms that are disjoint - never used together.
| Field Summary |
|---|
| Fields inherited from class nz.ac.waikato.mcennis.rat.graph.model.ModelShell |
|---|
listener |
| Constructor Summary | |
|---|---|
HierarchyByCooccurance()
Create a new algorithm that uses default parameters. |
|
| Method Summary | |
|---|---|
void |
execute(Graph g)
execute the algorithm against the given graph |
InputDescriptor[] |
getInputType()
The input type describes all the different kinds of graph objects that are utilized (and hence required) by this object. |
OutputDescriptor[] |
getOutputType()
The output type describes all the different kinds of graph objects that are created during the execution of this algorithm. |
Parameter[] |
getParameter()
List of all parameters this component accepts. |
Parameter |
getParameter(java.lang.String param)
Returns the specific parameter identified by its key-name. |
SettableParameter[] |
getSettableParameter()
Returns settable (i.e. |
SettableParameter |
getSettableParameter(java.lang.String param)
Return the settable parameter namede by this key-name. |
void |
init(java.util.Properties map)
Parameters: name: Name of this algorithm. |
protected int |
relationshipType(double left,
double right)
|
| Methods inherited from class nz.ac.waikato.mcennis.rat.graph.model.ModelShell |
|---|
addListener, fireChange |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface nz.ac.waikato.mcennis.rat.graph.model.Model |
|---|
addListener |
| Constructor Detail |
|---|
public HierarchyByCooccurance()
| Method Detail |
|---|
public void execute(Graph g)
Algorithm
execute in interface Algorithmg - graph to be modified
protected int relationshipType(double left,
double right)
public InputDescriptor[] getInputType()
Component
getInputType in interface ComponentInputDescriptorpublic OutputDescriptor[] getOutputType()
Component
getOutputType in interface ComponentOutputDescriptorpublic Parameter[] getParameter()
Component
getParameter in interface Componentpublic Parameter getParameter(java.lang.String param)
Component
getParameter in interface Componentparam - key-name of the parameter
public SettableParameter[] getSettableParameter()
Component
getSettableParameter in interface Componentpublic SettableParameter getSettableParameter(java.lang.String param)
Component
getSettableParameter in interface Componentparam - key-name of the parameter
public void init(java.util.Properties map)
init in interface Componentmap - parameters to be loaded - may be null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||