public class OpponentModelMeasures
extends java.lang.Object
Constructor and Description |
---|
OpponentModelMeasures(AbstractUtilitySpace ownSpace,
AbstractUtilitySpace opponentUS)
Creates the measures object by storing a reference to both utility spaces
and calculating the real Kalai bid.
|
Modifier and Type | Method and Description |
---|---|
double |
calculateAvgDiffBetweenBids(OpponentModel opponentModel) |
double |
calculateAvgDiffBetweenIssueWeights(OpponentModel opponentModel) |
double |
calculateAvgDiffParetoBidToEstimate(AbstractUtilitySpace estimatedSpace)
Calculates the average difference between the real estimated pareto bids
and their estimated utility for the opponent.
|
double |
calculateKalaiDiff(BidSpace estimatedBS)
Calculates the absolute difference between the estimated Kalai point and
the real Kalai point.
|
double |
calculateNashDiff(BidSpace estimatedBS)
Calculates the absolute difference between the estimated Nash point and
the real Nash point.
|
double |
calculateParetoFrontierDistance(BidSpace estimatedBS)
This methods calculates the Pareto frontier distance using the following
steps: 1.
|
double |
calculatePearsonCorrelationCoefficientBids(AbstractUtilitySpace estimatedSpace)
Calculates the Pearson correlation coefficient by comparing the utility
of each bid estimated by the real and estimated opponent's utility space.
|
double |
calculatePercCorrectlyEstimatedParetoBids(BidSpace estimatedBS)
Calculate the amount of real Pareto bids which have been found by the
opponent model.
|
double |
calculatePercIncorrectlyEstimatedParetoBids(BidSpace estimatedBS)
Calculate the percentage of bids in the estimated Pareto bids which is
really Pareto optimal.
|
double |
calculateRankingDistanceBids(AbstractUtilitySpace estimatedSpace)
Calculates the ranking distance by comparing the utility of each bid
estimated by the real and estimated opponent's utility space.
|
double |
calculateRankingDistanceWeights(OpponentModel opponentModel)
Calculates the ranking distance by comparing the utility of each weight
estimated by the real and estimated opponent's utility space.
|
int |
getOpponentBidIndex(Bid opponentBid) |
public OpponentModelMeasures(AbstractUtilitySpace ownSpace, AbstractUtilitySpace opponentUS)
ownSpace
- utilityspace of selfopponentUS
- utilityspace of opponentpublic double calculatePearsonCorrelationCoefficientBids(AbstractUtilitySpace estimatedSpace)
estimatedSpace
- estimated opponent utility spacepublic double calculateRankingDistanceBids(AbstractUtilitySpace estimatedSpace)
estimatedSpace
- estimated opponent utility spacepublic double calculateRankingDistanceWeights(OpponentModel opponentModel)
opponentModel
- public double calculateKalaiDiff(BidSpace estimatedBS)
estimatedBS
- estimated opponent utility spacepublic double calculateNashDiff(BidSpace estimatedBS)
estimatedBS
- estimated opponent BidSpace
public double calculateAvgDiffParetoBidToEstimate(AbstractUtilitySpace estimatedSpace)
estimatedSpace
- public double calculatePercCorrectlyEstimatedParetoBids(BidSpace estimatedBS)
estimatedBS
- public double calculatePercIncorrectlyEstimatedParetoBids(BidSpace estimatedBS)
estimatedBS
- public double calculateParetoFrontierDistance(BidSpace estimatedBS)
estimatedBS
- public int getOpponentBidIndex(Bid opponentBid)
opponentBid
- public double calculateAvgDiffBetweenBids(OpponentModel opponentModel)
opponentModel
- public double calculateAvgDiffBetweenIssueWeights(OpponentModel opponentModel)
opponentModel
-