|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.indiana.util.statistics.RunningAggregateSet
edu.indiana.iucbrf.feature.unknown.AggregateFeatureValueSet
public class AggregateFeatureValueSet
Keeps track of the aggregate of each feature, when it is known. The features are assumed to be DoubleRepresentable.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class edu.indiana.util.statistics.RunningAggregateSet |
|---|
RunningAggregateSet.AggregateNotSetException |
| Field Summary | |
|---|---|
protected ComponentFactory |
componentFactory
|
| Fields inherited from class edu.indiana.util.statistics.RunningAggregateSet |
|---|
aggs |
| Constructor Summary | |
|---|---|
AggregateFeatureValueSet()
Creates a new instance of AggregateFeatureValueSet |
|
AggregateFeatureValueSet(Domain domain,
java.util.ArrayList cases)
|
|
AggregateFeatureValueSet(Domain domain,
CaseBase cb)
|
|
| Method Summary | |
|---|---|
void |
addToAggregates(Case addedCase)
|
void |
addToAggregates(java.util.Iterator caseIter)
|
void |
caseAdded(CaseBaseEvent cle)
Describes the desired reaction to a case addition. |
void |
caseClassChanged(CaseBaseEvent cle)
Describes the desired reaction to the changing of the class of cases in the case base. |
void |
caseRemoved(CaseBaseEvent cle)
Describes the desired reaction to a case removal. |
void |
caseReplaced(CaseBaseEvent cle)
Describes the desired reaction to a case replacement. |
void |
casesCleared(CaseBaseEvent cle)
Describes the desired reaction to clearing of all cases. |
protected void |
init(Domain domain,
java.util.Iterator caseIter)
|
void |
removeFromAggregates(Case removedCase)
|
void |
removeFromAggregates(java.util.Iterator caseIter)
|
java.lang.String |
toString()
|
| Methods inherited from class edu.indiana.util.statistics.RunningAggregateSet |
|---|
addToAggregate, calcAggregateValue, getAggregate, removeFromAggregate, reset, resetAll, setAggregate |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected ComponentFactory componentFactory
| Constructor Detail |
|---|
public AggregateFeatureValueSet()
public AggregateFeatureValueSet(Domain domain,
CaseBase cb)
public AggregateFeatureValueSet(Domain domain,
java.util.ArrayList cases)
| Method Detail |
|---|
protected void init(Domain domain,
java.util.Iterator caseIter)
public void addToAggregates(java.util.Iterator caseIter)
public void removeFromAggregates(java.util.Iterator caseIter)
public void addToAggregates(Case addedCase)
public void removeFromAggregates(Case removedCase)
public void caseAdded(CaseBaseEvent cle)
caseAdded in interface CaseBaseListenerpublic void caseClassChanged(CaseBaseEvent cle)
caseClassChanged in interface CaseBaseListenerpublic void caseRemoved(CaseBaseEvent cle)
caseRemoved in interface CaseBaseListenerpublic void caseReplaced(CaseBaseEvent cle)
caseReplaced in interface CaseBaseListenerpublic void casesCleared(CaseBaseEvent cle)
casesCleared in interface CaseBaseListenerpublic 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 | ||||||||