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

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

public class NetEffInnovation
extends Innovation

The Class NetEffInnovation represents the innovations that produce network effects.


Field Summary
 
Fields inherited from class edu.ntnu.ecosim.agents.serviceproviders.innovation.Innovation
NETEFFADDING, neteffect, value, VALUEADDING
 
Constructor Summary
NetEffInnovation(double neff)
          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

NetEffInnovation

public NetEffInnovation(double neff)
The Constructor.

Parameters:
neff - the network effect that this innovation gives
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)