flexiblepower / powermatcher

PowerMatcher - The Java implementation of the PowerMatcher, including the API, the core, a couple of examples, a remote implementation using websockets and a visualisation of the configuration.
http://www.powermatcher.org
Apache License 2.0
43 stars 25 forks source link

Added AggregatedBidEvent, changed ObjectiveAgent #193

Closed wilcowijbrandi closed 9 years ago

wilcowijbrandi commented 9 years ago

The ObjectiveEndpoint interface was too restrictive, it didn't allow an ObjectiveAgent to send an bid update on it's own initiative. I added an AggregatedBidEvent (which is important for monitoring your cluster and was missing). With this addition it is very easy to implement an ObjectiveAgent without any special interfaces, so I removed the ObjectiveEndpoint. I updated the example ObjectiveAgent accordingly.