|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.cesr.more.measures.node.MAbstractNodeMeasure
public abstract class MAbstractNodeMeasure
MORe
| Field Summary | |
|---|---|
protected MoreAction |
action
The action to schedule the measure calculation |
protected MMeasureDescription |
desc
The measure description |
protected Map<String,Object> |
parameters
Parameters used to calculate this measure |
protected Class<?> |
type
the measure's type |
| Constructor Summary | |
|---|---|
MAbstractNodeMeasure(MMeasureDescription description,
Class<?> measureType)
|
|
MAbstractNodeMeasure(MMeasureDescription description,
Class<?> measureType,
Map<String,Object> parameters)
Initializes a Measure with its MMeasureDescription, its return type class
and a map with defined keys and default values as parameters. |
|
| Method Summary | ||
|---|---|---|
abstract
|
getAction(MoreNetwork<T,E> network,
Map<String,Object> parameters)
A new measure need to provide a BasicAction that calculates the measure values |
|
MMeasureDescription |
getMeasureDescription()
|
|
Map<String,Object> |
getParameters()
|
|
Class<?> |
getType()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Class<?> type
protected MMeasureDescription desc
protected Map<String,Object> parameters
protected MoreAction action
| Constructor Detail |
|---|
public MAbstractNodeMeasure(MMeasureDescription description,
Class<?> measureType)
description - The measure descriptionmeasureType - the measure's type
public MAbstractNodeMeasure(MMeasureDescription description,
Class<?> measureType,
Map<String,Object> parameters)
Measure with its MMeasureDescription, its return type class
and a map with defined keys and default values as parameters.
description - The MMeasureDescriptionmeasureType - The class type of the object that represents the measure and is set at the nodesparameters - A map with predefined key-(default)values pairs as parameters| Method Detail |
|---|
public Class<?> getType()
getType in interface MoreMeasurepublic Map<String,Object> getParameters()
getParameters in interface MoreMeasurepublic MMeasureDescription getMeasureDescription()
getMeasureDescription in interface MoreMeasureMMeasureDescription for this measure
public abstract <T extends MoreNodeMeasureSupport,E extends MoreEdge<? super T>> MoreAction getAction(MoreNetwork<T,E> network,
Map<String,Object> parameters)
BasicAction that calculates the measure values
T - The node typenetwork - The network the measure is calculated forparameters - The parameter map
BasicAction that is scheduled for computation
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||