|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Defines a generic handle to Agents. It presents the minimal set of functions that an agent (single or aggregated) must provide.
Method Summary | |
edu.uiuc.ge.illigal.gale.agents.Agent |
buildAgent(edu.uiuc.ge.illigal.gale.config.GALEConfiguration galeCnf,
edu.uiuc.ge.illigal.gale.data.AttributeSet att)
Returns a random builded agent. |
int |
classify(edu.uiuc.ge.illigal.gale.data.Instance ins)
Classifies the given instance |
java.lang.Object |
clone()
Clones the handled agent. |
float |
complexity()
Returns a complexity measure. |
edu.uiuc.ge.illigal.gale.agents.AgentPerformance |
getPerformance()
Provides the classification performance information. |
edu.uiuc.ge.illigal.gale.agents.Agent |
merge(edu.uiuc.ge.illigal.gale.agents.Agent agn)
Merges two agents. |
edu.uiuc.ge.illigal.gale.agents.Agent |
prune()
Clean spurious issues. |
void |
resetPerformance()
Resets the agents' performance. |
edu.uiuc.ge.illigal.gale.agents.Agent |
split()
Splits an agent |
java.lang.String |
toString()
Returns the stringfied form of the agent |
Method Detail |
public edu.uiuc.ge.illigal.gale.agents.AgentPerformance getPerformance()
public void resetPerformance()
public edu.uiuc.ge.illigal.gale.agents.Agent merge(edu.uiuc.ge.illigal.gale.agents.Agent agn)
agn
- The second agent to be merged
public edu.uiuc.ge.illigal.gale.agents.Agent split()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
- Thrown when the agent cannot be
clonedpublic float complexity()
public edu.uiuc.ge.illigal.gale.agents.Agent prune()
public int classify(edu.uiuc.ge.illigal.gale.data.Instance ins)
public java.lang.String toString()
toString
in class java.lang.Object
public edu.uiuc.ge.illigal.gale.agents.Agent buildAgent(edu.uiuc.ge.illigal.gale.config.GALEConfiguration galeCnf, edu.uiuc.ge.illigal.gale.data.AttributeSet att)
galeCnf
- The GALE configuration objectatt
- The attributes set information object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |