| 
||||||||||
| 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
br.usp.ime.klava.segmentit.metrics.Volume
public class Volume
Metric to build hierarchies of nested partitions ranking segments by their areas and contrasts in synchronous flooding simulation.
| Constructor Summary | |
|---|---|
Volume()
 | 
|
| 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 Volume()
| Method Detail | 
|---|
public void calculateMetric(HierarchyLeaf hierarchyLeaf)
AbstractMetrichierarchyLeaf.
calculateMetric in class AbstractMetrichierarchyLeaf - a HierarchyLeafpublic void calculateMetric(HierarchyInternalNode hierarchyInternalNode)
AbstractMetrichierarchyInternalNode.
calculateMetric in class AbstractMetrichierarchyInternalNode - a HierarchyInternalNodepublic int getValue(int waterLevel)
AbstractMetricwaterLevel.
getValue in class AbstractMetricwaterLevel - 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 | |||||||||