|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for search methods capable of producing a ranked list of attributes.
Method Summary | |
int |
getCalculatedNumToSelect()
Gets the calculated number of attributes to retain. |
boolean |
getGenerateRanking()
Gets whether the user has opted to see a ranked list of attributes rather than the normal result of the search |
int |
getNumToSelect()
Gets the user specified number of attributes to be retained. |
double |
getThreshold()
Gets the threshold by which attributes can be discarded. |
double[][] |
rankedAttributes()
Returns a X by 2 list of attribute indexes and corresponding evaluations from best (highest) to worst. |
void |
setGenerateRanking(boolean doRanking)
Sets whether or not ranking is to be performed. |
void |
setNumToSelect(int numToSelect)
Specify the number of attributes to select from the ranked list. |
void |
setThreshold(double threshold)
Sets a threshold by which attributes can be discarded from the ranking. |
Method Detail |
public double[][] rankedAttributes() throws java.lang.Exception
java.lang.Exception
- if the ranking can't be producedpublic void setThreshold(double threshold)
threshold
- the threshold.public double getThreshold()
public void setNumToSelect(int numToSelect)
numToSelect
- the number of attributes to retainpublic int getNumToSelect()
public int getCalculatedNumToSelect()
public void setGenerateRanking(boolean doRanking)
doRanking
- true if ranked list is to be producedpublic boolean getGenerateRanking()
|
|||||||||
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