public class NoInformationScheme extends InformationScheme
Constructor and Description |
---|
NoInformationScheme() |
Modifier and Type | Method and Description |
---|---|
java.util.Set<InformationEvent> |
deriveProductInformation(ConsumerAgent informationRequestingAgent,
ProductAttribute productAttributeOfInterest,
SimulationContainer simulationContainer)
Since no information is of relevant, all product information derived is empty (i.e.
|
void |
provideInformation(InformationAgent contributingAgent,
Information contributedInformation,
double systemTime)
No information provided is of relevance in this scheme, so this is basically a NOP.
|
public void provideInformation(InformationAgent contributingAgent, Information contributedInformation, double systemTime) throws java.lang.IllegalArgumentException
provideInformation
in class InformationScheme
contributingAgent
- The agent providing information to the information schemecontributedInformation
- The information that is provided to the information schemesystemTime
- The time the information is provided to the systemjava.lang.IllegalArgumentException
public java.util.Set<InformationEvent> deriveProductInformation(ConsumerAgent informationRequestingAgent, ProductAttribute productAttributeOfInterest, SimulationContainer simulationContainer)
deriveProductInformation
in class InformationScheme
informationRequestingAgent
- The agent that requests information about a product qualityproductAttributeOfInterest
- The quality which an agent requests information aboutsimulationContainer
- The state of the simulation at the time of inquiry