public class MultipartyBidChart
extends java.lang.Object
Constructor and Description |
---|
MultipartyBidChart(java.util.ArrayList<AgentID> partyNames,
int maxRound) |
MultipartyBidChart(java.util.List<AgentID> partyNames) |
Modifier and Type | Method and Description |
---|---|
org.jfree.chart.JFreeChart |
getChart() |
static double[][] |
makeDataPoints(java.util.List<TurnAndUtil> list)
Converts list of TurnAndUtil into a 2D data array for plotting.
|
void |
setAgreementPoints(double[][] agreementSeries) |
void |
setBidSeries(java.util.Map<AgentID,java.util.List<TurnAndUtil>> turnAndUtilPerRoundPerAgent)
Sets the values for the parties.
|
void |
setMaxRound(int round) |
void |
setNashSeries(double[][] nashSeries) |
public MultipartyBidChart(java.util.ArrayList<AgentID> partyNames, int maxRound)
public MultipartyBidChart(java.util.List<AgentID> partyNames)
public org.jfree.chart.JFreeChart getChart()
public void setMaxRound(int round)
public void setBidSeries(java.util.Map<AgentID,java.util.List<TurnAndUtil>> turnAndUtilPerRoundPerAgent)
turnAndUtilPerRoundPerAgent
- a map with a TurnAndUtil
for each relevant
(to-be-displayed) party. All relevant parties in the plot must
have a value.
REMOVED the product array which was another value in the list.public static double[][] makeDataPoints(java.util.List<TurnAndUtil> list)
list
- a list of TurnAndUtil
objectspublic void setNashSeries(double[][] nashSeries)
public void setAgreementPoints(double[][] agreementSeries)