edu.ntnu.ecosim.agents.serviceproviders.innovation
Class ValueInnovation

java.lang.Object
  extended by edu.ntnu.ecosim.agents.serviceproviders.innovation.Innovation
      extended by edu.ntnu.ecosim.agents.serviceproviders.innovation.ValueInnovation

public class ValueInnovation
extends Innovation

The Class ValueInnovation represents the innovations that gives direct value to a subscription, regardless of how many consumers are using it.


Field Summary
 
Fields inherited from class edu.ntnu.ecosim.agents.serviceproviders.innovation.Innovation
NETEFFADDING, neteffect, value, VALUEADDING
 
Constructor Summary
ValueInnovation(double val)
          The Constructor.
 
Method Summary
 int getType()
          Method to get the type of innovation this is
 
Methods inherited from class edu.ntnu.ecosim.agents.serviceproviders.innovation.Innovation
getNetEffect, getUniqueID, getValueAdd
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValueInnovation

public ValueInnovation(double val)
The Constructor.

Parameters:
val - the value this innovation adds to the subscription (a percentage)
Method Detail

getType

public int getType()
Description copied from class: Innovation
Method to get the type of innovation this is

Specified by:
getType in class Innovation
Returns:
either NETEFFADDING or VALUEADDING (the int values)