Package org.powertac.visualizer.domain
Class TickSnapshot
java.lang.Object
org.powertac.visualizer.domain.TickSnapshot
public class TickSnapshot extends Object
A model object used for storing per-tick (i.e., time slot) values. The object
is pushed to the front-end where the processing (e.g., assembly of graphs)
takes place.
- Author:
- Jurica Babic, Govert Buijs, Erik Kemperman
-
Constructor Summary
Constructors Constructor Description TickSnapshot()TickSnapshot(long timeInstance, int timeSlot)TickSnapshot(long timeInstance, int timeSlot, List<TickValueBroker> brokerTicks, List<TickValueCustomer> customerTicks) -
Method Summary
Modifier and Type Method Description List<TickValueBroker>getTickValueBrokers()List<TickValueCustomer>getTickValueCustomers()longgetTimeInstance()intgetTimeSlot()voidsetTickValueBrokers(List<TickValueBroker> tickValueBrokers)voidsetTickValueCustomers(List<TickValueCustomer> tickValueCustomers)voidsetTimeInstance(long timeInstance)voidsetTimeSlot(int timeSlot)
-
Constructor Details
-
TickSnapshot
public TickSnapshot() -
TickSnapshot
public TickSnapshot(long timeInstance, int timeSlot, List<TickValueBroker> brokerTicks, List<TickValueCustomer> customerTicks) -
TickSnapshot
public TickSnapshot(long timeInstance, int timeSlot)
-
-
Method Details
-
getTimeInstance
public long getTimeInstance() -
setTimeInstance
public void setTimeInstance(long timeInstance) -
getTimeSlot
public int getTimeSlot() -
setTimeSlot
public void setTimeSlot(int timeSlot) -
getTickValueBrokers
-
setTickValueBrokers
-
getTickValueCustomers
-
setTickValueCustomers
-