|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--classifiers.usm.distance.USMComplexityCache
Class for cacheing the Kolmogorov complexity esitmates for a particular instance!
Constructor Summary | |
USMComplexityCache(Instance i,
double c,
double cs,
java.lang.Object ci,
Attribute a)
This is the constructor for the caching of the complexity esitmated needed to compute the distances between instances. |
Method Summary | |
Attribute |
getAttribute()
Simple function to return the attribute for which has been compressed of the instance. |
double |
getComplexity()
Simple function to return the complexity of an instance of interest |
double |
getComplexityStar()
Simple function to return the complexity of the compressed instance of interest |
java.lang.Object |
getCompressedVersion()
Simple function to return the compressed version of the instance. |
Instance |
getInstance()
Simple function to return the instance of interest |
java.lang.String |
toString()
Converts a USMComplexityCache object to a string |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public USMComplexityCache(Instance i, double c, double cs, java.lang.Object ci, Attribute a)
i
- the instance of interestc
- the complexity of the instance objectcs
- the complexity of the compressed instance objectMethod Detail |
public Instance getInstance()
public double getComplexity()
public double getComplexityStar()
public java.lang.Object getCompressedVersion()
public Attribute getAttribute()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) 2003 David Lindsay, Computer Learning Research Centre, Dept. Computer Science, Royal Holloway, University of London