public class ConceptInfo extends Object
Tried using float instead of double, but didn't get into the under 1gb range for very large concept graphs, so just use double to avoid precision errors.
Constructor and Description |
---|
ConceptInfo() |
ConceptInfo(String conceptId,
int depth,
double corpusIC,
double intrinsicIC) |
Modifier and Type | Method and Description |
---|---|
String |
getConceptId() |
double |
getCorpusIC() |
int |
getDepth() |
double |
getIntrinsicIC() |
void |
setConceptId(String conceptId) |
void |
setCorpusIC(double corpusIC) |
void |
setDepth(int depth) |
void |
setIntrinsicIC(double intrinsicIC) |
public ConceptInfo()
public ConceptInfo(String conceptId, int depth, double corpusIC, double intrinsicIC)
public String getConceptId()
public void setConceptId(String conceptId)
public int getDepth()
public void setDepth(int depth)
public double getCorpusIC()
public void setCorpusIC(double corpusIC)
public double getIntrinsicIC()
public void setIntrinsicIC(double intrinsicIC)
Copyright © 2012-2017 The Apache Software Foundation. All Rights Reserved.