|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object br.usp.ime.klava.segmentit.metrics.AbstractMetric br.usp.ime.klava.segmentit.metrics.MergingLevel
public class MergingLevel
Metric to build hierarchies of nested partitions in uniform flooding simulation.
Constructor Summary | |
---|---|
MergingLevel()
|
Method Summary | |
---|---|
void |
calculateMetric(HierarchyInternalNode hierarchyInternalNode)
Computes the value of this metric for the given hierarchyInternalNode . |
void |
calculateMetric(HierarchyLeaf hierarchyLeaf)
Computes the value of this metric for the given hierarchyLeaf . |
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 MergingLevel()
Method Detail |
---|
public void calculateMetric(HierarchyLeaf hierarchyLeaf)
AbstractMetric
hierarchyLeaf
.
calculateMetric
in class AbstractMetric
hierarchyLeaf
- a HierarchyLeaf
public void calculateMetric(HierarchyInternalNode hierarchyInternalNode)
AbstractMetric
hierarchyInternalNode
.
calculateMetric
in class AbstractMetric
hierarchyInternalNode
- a HierarchyInternalNode
public int getValue(int waterLevel)
AbstractMetric
waterLevel
.
getValue
in class AbstractMetric
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 |