|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbr.usp.ime.klava.segmentit.metrics.AbstractMetric
public abstract class AbstractMetric
Abstract metric used to build hierarchies of nested partitions.
Constructor Summary | |
---|---|
AbstractMetric()
|
Method Summary | |
---|---|
abstract void |
calculateMetric(HierarchyInternalNode hierarchyInternalNode)
Computes the value of this metric for the given hierarchyInternalNode . |
abstract void |
calculateMetric(HierarchyLeaf hierarchyLeaf)
Computes the value of this metric for the given hierarchyLeaf . |
abstract int |
getValue(int waterLevel)
Returns the value of this metric given the waterLevel . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractMetric()
Method Detail |
---|
public abstract void calculateMetric(HierarchyLeaf hierarchyLeaf)
hierarchyLeaf
.
hierarchyLeaf
- a HierarchyLeaf
public abstract void calculateMetric(HierarchyInternalNode hierarchyInternalNode)
hierarchyInternalNode
.
hierarchyInternalNode
- a HierarchyInternalNode
public abstract int getValue(int waterLevel)
waterLevel
.
waterLevel
- the current water level in the flooding simulation
waterLevel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |