org.inria.myriads.snoozenode.configurator.estimator
Class EstimatorSettings

java.lang.Object
  extended by org.inria.myriads.snoozenode.configurator.estimator.EstimatorSettings

public final class EstimatorSettings
extends Object

Estimator settings.

Author:
Eugen Feller

Constructor Summary
EstimatorSettings()
          Constructor.
 
Method Summary
 int getNumberOfMonitoringEntries()
          Returns the number of monitoring entries.
 EstimatorPolicy getPolicy()
          Returns the policy.
 SortNorm getSortNorm()
          Returns the demand measure.
 boolean isStatic()
          Returns the static flag.
 void setNumberOfMonitoringEntries(int numberOfMonitoringEntries)
          Sets the number of monitoring entries.
 void setSortNorm(SortNorm sortNorm)
          Sets the sort norm.
 void setStatic(boolean isStatic)
          Sets the used capacity flag.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EstimatorSettings

public EstimatorSettings()
Constructor.

Method Detail

setSortNorm

public void setSortNorm(SortNorm sortNorm)
Sets the sort norm.

Parameters:
sortNorm - The sort norm

getSortNorm

public SortNorm getSortNorm()
Returns the demand measure.

Returns:
The sort norm

setNumberOfMonitoringEntries

public void setNumberOfMonitoringEntries(int numberOfMonitoringEntries)
Sets the number of monitoring entries.

Parameters:
numberOfMonitoringEntries - The number of monitoring entries

getNumberOfMonitoringEntries

public int getNumberOfMonitoringEntries()
Returns the number of monitoring entries.

Returns:
The number of monitoring entries

setStatic

public void setStatic(boolean isStatic)
Sets the used capacity flag.

Parameters:
isStatic - true if static estimations are desired, false otherwise

isStatic

public boolean isStatic()
Returns the static flag.

Returns:
true if static estimations are desired, false otherwise

getPolicy

public EstimatorPolicy getPolicy()
Returns the policy.

Returns:
The policy


Copyright © 2012. All Rights Reserved.