|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReadClassification
This interface defines the methods needed to read a set of true classifications from a file.
Method Summary | |
---|---|
void |
readClassification(Graph graph,
Classification labels,
java.io.File input)
Read from a given file a estimate of classifications for nodes in the given graph. |
Classification |
readClassification(Graph graph,
java.lang.String nodeType,
AttributeCategorical attribute,
java.io.File input)
Read from a given file a estimate of classifications for nodes in the given graph. |
Method Detail |
---|
Classification readClassification(Graph graph, java.lang.String nodeType, AttributeCategorical attribute, java.io.File input)
graph
- The graph whose nodes are two be classifiednodeType
- The nodeType which the classification object refers toattribute
- The categorial values to map classification-names against.input
- The file from which to read classifications
void readClassification(Graph graph, Classification labels, java.io.File input)
graph
- The graph whose nodes are two be classifiedlabels
- The classification object to fill in with the
read in labels. The calling function should
lock the valuemap if no new labels are to be
accepted.input
- The file from which to read classifications
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |