|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.ntnu.ecosim.agents.consumers.BehaviourModel
public class BehaviourModel
This behaviour model is based on "Diffusion of innovation theory". The behaviour will reflect the "willingness" to adopt the new technology, based on the characteristics of each user type.
Constructor Summary | |
---|---|
protected |
BehaviourModel(Memory memory,
Market m)
This is the constructor of the Behaviour Model The category of the consumer is selected based on the technology acceptance curve. |
Method Summary | |
---|---|
protected double[] |
calculateInnovationsEffects(ServiceProvider sp,
double valuation,
int nofFriends)
Method to calculate the innvations network effects for the specified provider |
protected double |
calculateValuation()
Method to calculate the valuation of a basic subscription (the intrisic value of a subscription) |
protected double |
getBindingFee(ServiceProvider sp)
A method to get the binding fee of a given service provider. |
protected int |
getInfluence()
Method to get the influence this consumer has on others |
protected int |
getMaxFriends()
Method to get the maximum number of friends this consumer may have. |
protected int |
getNofSubscribers(ServiceProvider sp,
boolean isCurrent)
This method adds noise to the number of subscribers as percieved by the consumers. |
protected double |
getSubscriptionFee(ServiceProvider sp,
boolean isCurrent)
A method to get the subscription fee of the service provider. |
protected void |
searchForNewProviders()
Method used to search for new providers in the market. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected BehaviourModel(Memory memory, Market m)
memory
- the memory of the consumerm
- the market the consumer operates withinMethod Detail |
---|
protected double[] calculateInnovationsEffects(ServiceProvider sp, double valuation, int nofFriends)
sp
- The service providervaluation
- The valuation of a basic subscriptionnofFriends
- the number of friends this consumer has
protected double calculateValuation()
protected double getBindingFee(ServiceProvider sp)
protected int getInfluence()
protected int getMaxFriends()
protected int getNofSubscribers(ServiceProvider sp, boolean isCurrent)
sp
- The service provider to get information fromisCurrent
- Whether or not this is the current provider
protected double getSubscriptionFee(ServiceProvider sp, boolean isCurrent)
sp
- the service providerisCurrent
- Whether or not this is the current provider
protected void searchForNewProviders()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |