From a4377c0c7b9c94e2b558e9d690e9681952f1f7e9 Mon Sep 17 00:00:00 2001 From: gstamatakis Date: Fri, 5 Jan 2018 10:22:30 +0200 Subject: [PATCH] Release 1 --- javadoc/AgentCore/AgentAPI.html | 330 -------- javadoc/AgentCore/BidStrategy.html | 657 --------------- ...gotiationStatistics.UtilityComparator.html | 291 ------- javadoc/AgentCore/NegotiationStatistics.html | 758 ------------------ javadoc/AgentCore/Opponent.html | 587 -------------- javadoc/AgentCore/ThrashAgent.html | 517 ------------ javadoc/AgentCore/package-frame.html | 27 - javadoc/AgentCore/package-summary.html | 171 ---- javadoc/AgentCore/package-tree.html | 147 ---- javadoc/Bad/BadAgent.html | 355 -------- javadoc/Bad/BadOpponent.html | 331 -------- javadoc/Bad/package-frame.html | 21 - javadoc/Bad/package-summary.html | 144 ---- javadoc/Bad/package-tree.html | 140 ---- javadoc/BadAgentImpl.html | 315 -------- javadoc/BestAgent.html | 116 ++- javadoc/Core/AgentAPI.html | 102 ++- javadoc/Core/BidHistory.html | 91 ++- javadoc/Core/BidStrategy.html | 4 +- ...gotiationStatistics.UtilityComparator.html | 4 +- javadoc/Core/NegotiationStatistics.html | 4 +- javadoc/Core/Opponent.html | 4 +- javadoc/Core/ThrashAgent.html | 24 +- javadoc/Core/package-frame.html | 4 +- javadoc/Core/package-summary.html | 12 +- javadoc/Core/package-tree.html | 8 +- javadoc/Thresh1.html | 531 ------------ javadoc/ThresholdAgent.html | 460 ----------- javadoc/TimeAgent.html | 132 ++- javadoc/Utils/SAparams.html | 329 -------- javadoc/Utils/SearchMethodEnum.html | 4 +- javadoc/Utils/SimulatedAnnealingParams.html | 4 +- javadoc/Utils/StrategyEnum.html | 4 +- javadoc/Utils/ValFreqEnum.html | 4 +- javadoc/Utils/package-frame.html | 4 +- javadoc/Utils/package-summary.html | 4 +- javadoc/Utils/package-tree.html | 6 +- javadoc/allclasses-frame.html | 12 +- javadoc/allclasses-noframe.html | 12 +- javadoc/constant-values.html | 4 +- javadoc/deprecated-list.html | 4 +- javadoc/help-doc.html | 4 +- javadoc/index-files/index-1.html | 12 +- javadoc/index-files/index-10.html | 42 +- javadoc/index-files/index-11.html | 26 +- javadoc/index-files/index-12.html | 63 +- javadoc/index-files/index-13.html | 61 +- javadoc/index-files/index-14.html | 176 ---- javadoc/index-files/index-15.html | 151 ---- javadoc/index-files/index-16.html | 161 ---- javadoc/index-files/index-17.html | 166 ---- javadoc/index-files/index-18.html | 127 --- javadoc/index-files/index-2.html | 30 +- javadoc/index-files/index-3.html | 10 +- javadoc/index-files/index-4.html | 114 ++- javadoc/index-files/index-5.html | 14 +- javadoc/index-files/index-6.html | 22 +- javadoc/index-files/index-7.html | 22 +- javadoc/index-files/index-8.html | 20 +- javadoc/index-files/index-9.html | 40 +- javadoc/index.html | 2 +- javadoc/overview-frame.html | 5 +- javadoc/overview-summary.html | 10 +- javadoc/overview-tree.html | 16 +- javadoc/package-frame.html | 10 +- javadoc/package-list | 1 - javadoc/package-summary.html | 16 +- javadoc/package-tree.html | 18 +- javadoc/serialized-form.html | 53 +- 69 files changed, 742 insertions(+), 7328 deletions(-) delete mode 100644 javadoc/AgentCore/AgentAPI.html delete mode 100644 javadoc/AgentCore/BidStrategy.html delete mode 100644 javadoc/AgentCore/NegotiationStatistics.UtilityComparator.html delete mode 100644 javadoc/AgentCore/NegotiationStatistics.html delete mode 100644 javadoc/AgentCore/Opponent.html delete mode 100644 javadoc/AgentCore/ThrashAgent.html delete mode 100644 javadoc/AgentCore/package-frame.html delete mode 100644 javadoc/AgentCore/package-summary.html delete mode 100644 javadoc/AgentCore/package-tree.html delete mode 100644 javadoc/Bad/BadAgent.html delete mode 100644 javadoc/Bad/BadOpponent.html delete mode 100644 javadoc/Bad/package-frame.html delete mode 100644 javadoc/Bad/package-summary.html delete mode 100644 javadoc/Bad/package-tree.html delete mode 100644 javadoc/BadAgentImpl.html delete mode 100644 javadoc/Thresh1.html delete mode 100644 javadoc/ThresholdAgent.html delete mode 100644 javadoc/Utils/SAparams.html delete mode 100644 javadoc/index-files/index-14.html delete mode 100644 javadoc/index-files/index-15.html delete mode 100644 javadoc/index-files/index-16.html delete mode 100644 javadoc/index-files/index-17.html delete mode 100644 javadoc/index-files/index-18.html diff --git a/javadoc/AgentCore/AgentAPI.html b/javadoc/AgentCore/AgentAPI.html deleted file mode 100644 index 354db60..0000000 --- a/javadoc/AgentCore/AgentAPI.html +++ /dev/null @@ -1,330 +0,0 @@ - - - - - -AgentAPI - - - - - - - - -
- - - - - - - -
- - - -
-
AgentCore
-

Interface AgentAPI

-
-
-
- -
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getRand

        -
        java.util.Random getRand()
        -
        Sets the random number generator.
        -
        -
        Returns:
        -
        the RNG.
        -
        -
      • -
      - - - -
        -
      • -

        getAgentStrategy

        -
        StrategyEnum getAgentStrategy()
        -
        Sets the agent strategy.
        -
        -
        Returns:
        -
        the agent strategy.
        -
        -
      • -
      - - - -
        -
      • -

        getSearchingMethod

        -
        SearchMethodEnum getSearchingMethod()
        -
        Sets the agent searching method.
        -
        -
        Returns:
        -
        the agent searching method.
        -
        -
      • -
      - - - -
        -
      • -

        getFrequencyValueSelection

        -
        ValFreqEnum getFrequencyValueSelection()
        -
        Sets the agent frequency value selection method.
        -
        -
        Returns:
        -
        the frequency value selection method.
        -
        -
      • -
      - - - -
        -
      • -

        getSimulatedAnnealingParams

        -
        SAparams getSimulatedAnnealingParams()
        -
        Sets the simulated annealing parameters.
        -
        -
        Returns:
        -
        the SA params
        -
        -
      • -
      - - - -
        -
      • -

        getBidUtilThreshold

        -
        double getBidUtilThreshold()
        -
        Set bid utility threshold.
        -
        -
        Returns:
        -
        the utility threshold chosen by BidStrategy.
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/javadoc/AgentCore/BidStrategy.html b/javadoc/AgentCore/BidStrategy.html deleted file mode 100644 index 07182ed..0000000 --- a/javadoc/AgentCore/BidStrategy.html +++ /dev/null @@ -1,657 +0,0 @@ - - - - - -BidStrategy - - - - - - - - -
- - - - - - - -
- - - -
-
AgentCore
-

Class BidStrategy

-
-
- -
-
    -
  • -
    -
    -
    public class BidStrategy
    -extends java.lang.Object
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      BidStrategy(negotiator.utility.AbstractUtilitySpace utilSpace, - NegotiationStatistics negotiatingInfo, - java.util.Random RNG, - double bidUtilThreshold, - SAparams params) -
      Initialises utility space related vars and finds the initial max bid.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      negotiator.BidAppropriateSearch(negotiator.Bid val) 
      private doublecalWidth(double avg, - double sd) -
      Estimate displacement width of opponent based on statistical information (utilize bisectional uniform distribution)
      -
      negotiator.BidgetMaxBid() 
      (package private) doublegetThreshold(double time) -
      Used for threshold in strategy.
      -
      private negotiator.BidrelativeUtilitySearch(negotiator.Bid thresholdBid) 
      (package private) booleanselectEndNegotiation(double time) -
      End negotiations when discount factor is too small.
      -
      private java.util.ArrayList<negotiator.Bid>SimulatedAnnealing(double threshold, - double time, - negotiator.Bid baseBid) -
      Performs Simulated annealing (SimulatedAnnealing), a probabilistic technique for approximating the global optimum of a given function.
      -
      private negotiator.BidSimulatedAnnealingSearch(negotiator.Bid baseBid) -
      When it can not find the Bid with a large utility value than the boundary value, return the baseBid - utility value returns a Bid which is near the boundary value
      -
      (package private) negotiator.BidSimulatedAnnealingUop(negotiator.Bid baseBid, - double threshold, - double time) -
      Simulated Annealing for UOP
      -
      private doubletargetEnd(double time) -
      (Eq.13.5)
      -
      (package private) doubletargetTime(double time) -
      (Eq.13.6)
      -
      private doubleUop(negotiator.Bid bid, - double time) 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        SAparams

        -
        private SAparams SAparams
        -
      • -
      - - - -
        -
      • -

        utilitySpace

        -
        private negotiator.utility.AbstractUtilitySpace utilitySpace
        -
      • -
      - - - - - - - -
        -
      • -

        maxBid

        -
        private negotiator.Bid maxBid
        -
      • -
      - - - -
        -
      • -

        RNG

        -
        private java.util.Random RNG
        -
      • -
      - - - -
        -
      • -

        reservationVal

        -
        private double reservationVal
        -
      • -
      - - - -
        -
      • -

        discountFactor

        -
        private double discountFactor
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        BidStrategy

        -
        public BidStrategy(negotiator.utility.AbstractUtilitySpace utilSpace,
        -                   NegotiationStatistics negotiatingInfo,
        -                   java.util.Random RNG,
        -                   double bidUtilThreshold,
        -                   SAparams params)
        -
        Initialises utility space related vars and finds the initial max bid. -

        - Example of utility space: - An additive utility function is characteristic of independent goods. For example, an apple and a hat are - considered independent: the utility a person receives from having an apple is the same whether or not he has a - hat, and vice versa.

        -
        -
        Parameters:
        -
        utilSpace - The given utility space.
        -
        negotiatingInfo - The negotiation statistics obj.
        -
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        targetEnd

        -
        private double targetEnd(double time)
        -
        (Eq.13.5) -

        - Our agent proposes a bid whose - utility exceeds target (t) and the highest Uop (Eq. 13.4). It accepts the opponent’s - bids when they are more than target (t). -

        -
        -
        Parameters:
        -
        time - The t input.
        -
        Returns:
        -
        The targetEnd that will decide the next action.
        -
        -
      • -
      - - - -
        -
      • -

        targetTime

        -
        double targetTime(double time)
        -
        (Eq.13.6) -

        - Our agent proposes a bid whose - utility exceeds target (t) and the highest Uop (Eq. 13.4). It accepts the opponent’s - bids when they are more than target (t). -

        - target(t) - = (1 − t^3 )(1 − targetend ) + targetend (d=1) - = (1 − t^d )(1 − targetend ) + targetend (otherwise)

        -
        -
        Parameters:
        -
        time - The t input.
        -
        Returns:
        -
        The minimum utility of an offer the agent will accept.
        -
        -
      • -
      - - - -
        -
      • -

        Uop

        -
        private double Uop(negotiator.Bid bid,
        -                   double time)
        -
        -
        Parameters:
        -
        bid - The bid.
        -
        time - The time.
        -
        Returns:
        -
        The uop.
        -
        -
      • -
      - - - -
        -
      • -

        SimulatedAnnealing

        -
        private java.util.ArrayList<negotiator.Bid> SimulatedAnnealing(double threshold,
        -                                                               double time,
        -                                                               negotiator.Bid baseBid)
        -
        Performs Simulated annealing (SimulatedAnnealing), a probabilistic technique for approximating the global optimum of a given function. - Start by looping until the temperature drops bellow a specific threshold. - Continue by calculating the closest optimal bid while making random steps. - Calculate the cost of moving to a next state.
        -
        -
        Parameters:
        -
        threshold - The threshold.
        -
        time - The time remaining.
        -
        baseBid - The initial position.
        -
        -
      • -
      - - - -
        -
      • -

        SimulatedAnnealingSearch

        -
        private negotiator.Bid SimulatedAnnealingSearch(negotiator.Bid baseBid)
        -
        When it can not find the Bid with a large utility value than the boundary value, return the baseBid - utility value returns a Bid which is near the boundary value
        -
        -
        Parameters:
        -
        baseBid - The base Bid.
        -
        -
      • -
      - - - -
        -
      • -

        SimulatedAnnealingUop

        -
        negotiator.Bid SimulatedAnnealingUop(negotiator.Bid baseBid,
        -                                     double threshold,
        -                                     double time)
        -
        Simulated Annealing for UOP
        -
        -
        Parameters:
        -
        baseBid - The base Bid.
        -
        threshold - The Threshold.
        -
        time - The time.
        -
        Returns:
        -
        The selected Bid.
        -
        -
      • -
      - - - -
        -
      • -

        AppropriateSearch

        -
        public negotiator.Bid AppropriateSearch(negotiator.Bid val)
        -
      • -
      - - - -
        -
      • -

        relativeUtilitySearch

        -
        private negotiator.Bid relativeUtilitySearch(negotiator.Bid thresholdBid)
        -
      • -
      - - - -
        -
      • -

        getThreshold

        -
        double getThreshold(double time)
        -
        Used for threshold in strategy.
        -
        -
        Parameters:
        -
        time - Current time.
        -
        Returns:
        -
        The allowed threshold based on the given time.
        -
        -
      • -
      - - - -
        -
      • -

        calWidth

        -
        private double calWidth(double avg,
        -                        double sd)
        -
        Estimate displacement width of opponent based on statistical information (utilize bisectional uniform distribution)
        -
        -
        Parameters:
        -
        avg - Average utility value
        -
        sd - standard deviation
        -
        Returns:
        -
        Estimated displacement width of opponent
        -
        -
      • -
      - - - -
        -
      • -

        selectEndNegotiation

        -
        boolean selectEndNegotiation(double time)
        -
        End negotiations when discount factor is too small.
        -
        -
        Parameters:
        -
        time - The current time.
        -
        Returns:
        -
        True if negotiations need to end.
        -
        -
      • -
      - - - -
        -
      • -

        getMaxBid

        -
        public negotiator.Bid getMaxBid()
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/javadoc/AgentCore/NegotiationStatistics.UtilityComparator.html b/javadoc/AgentCore/NegotiationStatistics.UtilityComparator.html deleted file mode 100644 index 23548b4..0000000 --- a/javadoc/AgentCore/NegotiationStatistics.UtilityComparator.html +++ /dev/null @@ -1,291 +0,0 @@ - - - - - -NegotiationStatistics.UtilityComparator - - - - - - - - -
- - - - - - - -
- - - -
-
AgentCore
-

Class NegotiationStatistics.UtilityComparator

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.util.Comparator<negotiator.Bid>
    -
    -
    -
    Enclosing class:
    -
    NegotiationStatistics
    -
    -
    -
    -
    public class NegotiationStatistics.UtilityComparator
    -extends java.lang.Object
    -implements java.util.Comparator<negotiator.Bid>
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      UtilityComparator() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      intcompare(negotiator.Bid a, - negotiator.Bid b) 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
        -
      • - - -

        Methods inherited from interface java.util.Comparator

        -comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        UtilityComparator

        -
        public UtilityComparator()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        compare

        -
        public int compare(negotiator.Bid a,
        -                   negotiator.Bid b)
        -
        -
        Specified by:
        -
        compare in interface java.util.Comparator<negotiator.Bid>
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/javadoc/AgentCore/NegotiationStatistics.html b/javadoc/AgentCore/NegotiationStatistics.html deleted file mode 100644 index 26798d0..0000000 --- a/javadoc/AgentCore/NegotiationStatistics.html +++ /dev/null @@ -1,758 +0,0 @@ - - - - - -NegotiationStatistics - - - - - - - - -
- - - - - - - -
- - - -
-
AgentCore
-

Class NegotiationStatistics

-
-
- -
-
    -
  • -
    -
    -
    public class NegotiationStatistics
    -extends java.lang.Object
    -
    Class used to store info regarding the opponents, the utilSpace and our BidHistory.
    -
  • -
-
-
-
    -
  • - - - - - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      NegotiationStatistics(negotiator.utility.AbstractUtilitySpace utilitySpace, - java.util.Random RNG) 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      (package private) java.util.List<negotiator.issue.Issue>getIssues() 
      (package private) java.util.HashMap<negotiator.issue.Issue,negotiator.issue.Value>getMaxValuesForOpponent(negotiator.AgentID opponent) 
      (package private) intgetNegotiatorNum() 
      (package private) java.util.HashMap<negotiator.AgentID,Opponent>getOpponents() 
      (package private) intgetRound() 
      private negotiator.issue.ValuegetValueFrequencyList(negotiator.AgentID sender, - negotiator.issue.Issue issue) -
      Based on the frequency of opponentsValueFrequency and opponentsAcceptedValueFrequency return the - most frequent value of this issue of this opponent
      -
      private negotiator.issue.ValuegetValueFrequencyListWeighted(negotiator.AgentID sender, - negotiator.issue.Issue issue) -
      Based on the frequency of opponentsValueFrequencyWeighted, returns the most - frequent weighted value of this issue of this opponent
      -
      (package private) java.util.ArrayList<negotiator.issue.Value>getValues(negotiator.issue.Issue issue) -
      It returns a list of possible values ​​in issue
      -
      (package private) voidincrementRound() -
      Increments round.
      -
      (package private) voidinitOpponent(negotiator.AgentID sender) -
      AgentCore.Opponent "constructor".
      -
      (package private) voidinitValueRelativeUtility() -
      initialization of relative utility matrix
      -
      (package private) voidupdateAcceptanceHistory(negotiator.AgentID sender, - negotiator.Bid AcceptedBid) 
      (package private) voidupdateInfo(negotiator.AgentID sender, - negotiator.Bid offeredBid, - double timeOfTheOffer) -
      Update of negotiations information.
      -
      (package private) negotiator.BidupdateMyBidHistory(negotiator.Bid offerBid) -
      Update of own proposal information.
      -
      (package private) voidupdateOpponentsNum(int num) -
      Updates the negotiator number.
      -
      (package private) voidupdatePopularBidList(negotiator.Bid popularBid) 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        utilitySpace

        -
        private negotiator.utility.AbstractUtilitySpace utilitySpace
        -
      • -
      - - - -
        -
      • -

        issues

        -
        private java.util.List<negotiator.issue.Issue> issues
        -
      • -
      - - - -
        -
      • -

        RNG

        -
        private java.util.Random RNG
        -
      • -
      - - - -
        -
      • -

        opponents

        -
        private java.util.HashMap<negotiator.AgentID,Opponent> opponents
        -
      • -
      - - - -
        -
      • -

        BestPopularBids

        -
        private java.util.ArrayList<negotiator.Bid> BestPopularBids
        -
      • -
      - - - -
        -
      • -

        valueRelativeUtility

        -
        java.util.HashMap<negotiator.issue.Issue,java.util.HashMap<negotiator.issue.Value,java.lang.Double>> valueRelativeUtility
        -
      • -
      - - - -
        -
      • -

        allValueFrequency

        -
        private java.util.HashMap<negotiator.issue.Issue,java.util.HashMap<negotiator.issue.Value,java.lang.Integer>> allValueFrequency
        -
      • -
      - - - -
        -
      • -

        BestOfferedUtility

        -
        private double BestOfferedUtility
        -
      • -
      - - - -
        -
      • -

        negotiatorNum

        -
        private int negotiatorNum
        -
      • -
      - - - -
        -
      • -

        round

        -
        private int round
        -
      • -
      - - - -
        -
      • -

        MaxPopularBidUtility

        -
        private double MaxPopularBidUtility
        -
      • -
      - - - -
        -
      • -

        OwnWorstOfferedUtility

        -
        private double OwnWorstOfferedUtility
        -
      • -
      - - - -
        -
      • -

        ConstantWeightFunction

        -
        private java.lang.Boolean ConstantWeightFunction
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        NegotiationStatistics

        -
        NegotiationStatistics(negotiator.utility.AbstractUtilitySpace utilitySpace,
        -                      java.util.Random RNG)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        initValueRelativeUtility

        -
        void initValueRelativeUtility()
        -
        initialization of relative utility matrix
        -
      • -
      - - - -
        -
      • -

        getValues

        -
        java.util.ArrayList<negotiator.issue.Value> getValues(negotiator.issue.Issue issue)
        -
        It returns a list of possible values ​​in issue
        -
        -
        Parameters:
        -
        issue - The given issue. Can be of any type but Objective.
        -
        Returns:
        -
        An ArrayList of values.
        -
        -
      • -
      - - - -
        -
      • -

        initOpponent

        -
        void initOpponent(negotiator.AgentID sender)
        -
        AgentCore.Opponent "constructor".
        -
        -
        Parameters:
        -
        sender - The AgentID of the sender.
        -
        -
      • -
      - - - -
        -
      • -

        incrementRound

        -
        void incrementRound()
        -
        Increments round.
        -
      • -
      - - - -
        -
      • -

        updateOpponentsNum

        -
        void updateOpponentsNum(int num)
        -
        Updates the negotiator number.
        -
        -
        Parameters:
        -
        num - The new value.
        -
        -
      • -
      - - - -
        -
      • -

        updateMyBidHistory

        -
        negotiator.Bid updateMyBidHistory(negotiator.Bid offerBid)
        -
        Update of own proposal information.
        -
        -
        Parameters:
        -
        offerBid - My offered Bid.
        -
        Returns:
        -
        My offered Bid.
        -
        -
      • -
      - - - -
        -
      • -

        updateInfo

        -
        void updateInfo(negotiator.AgentID sender,
        -                negotiator.Bid offeredBid,
        -                double timeOfTheOffer)
        -
        Update of negotiations information. - Update of the sender of the frequency matrix
        -
        -
        Parameters:
        -
        sender - The sender
        -
        offeredBid - The offered bid
        -
        timeOfTheOffer - The time of the offer
        -
        -
      • -
      - - - -
        -
      • -

        updateAcceptanceHistory

        -
        void updateAcceptanceHistory(negotiator.AgentID sender,
        -                             negotiator.Bid AcceptedBid)
        -
      • -
      - - - -
        -
      • -

        updatePopularBidList

        -
        void updatePopularBidList(negotiator.Bid popularBid)
        -
      • -
      - - - -
        -
      • -

        getNegotiatorNum

        -
        int getNegotiatorNum()
        -
      • -
      - - - -
        -
      • -

        getRound

        -
        int getRound()
        -
      • -
      - - - -
        -
      • -

        getIssues

        -
        java.util.List<negotiator.issue.Issue> getIssues()
        -
      • -
      - - - -
        -
      • -

        getOpponents

        -
        java.util.HashMap<negotiator.AgentID,Opponent> getOpponents()
        -
      • -
      - - - -
        -
      • -

        getValueFrequencyList

        -
        private negotiator.issue.Value getValueFrequencyList(negotiator.AgentID sender,
        -                                                     negotiator.issue.Issue issue)
        -
        Based on the frequency of opponentsValueFrequency and opponentsAcceptedValueFrequency return the - most frequent value of this issue of this opponent
        -
        -
        Parameters:
        -
        sender - The AgentID of the sender.
        -
        issue - The issue.
        -
        Returns:
        -
        The most frequent value of this issue of this opponent
        -
        -
      • -
      - - - -
        -
      • -

        getValueFrequencyListWeighted

        -
        private negotiator.issue.Value getValueFrequencyListWeighted(negotiator.AgentID sender,
        -                                                             negotiator.issue.Issue issue)
        -
        Based on the frequency of opponentsValueFrequencyWeighted, returns the most - frequent weighted value of this issue of this opponent
        -
        -
        Parameters:
        -
        sender - The AgentID of the sender.
        -
        issue - The issue.
        -
        -
      • -
      - - - -
        -
      • -

        getMaxValuesForOpponent

        -
        java.util.HashMap<negotiator.issue.Issue,negotiator.issue.Value> getMaxValuesForOpponent(negotiator.AgentID opponent)
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/javadoc/AgentCore/Opponent.html b/javadoc/AgentCore/Opponent.html deleted file mode 100644 index 9b44b5d..0000000 --- a/javadoc/AgentCore/Opponent.html +++ /dev/null @@ -1,587 +0,0 @@ - - - - - -Opponent - - - - - - - - -
- - - - - - - -
- - - -
-
AgentCore
-

Class Opponent

-
-
- -
-
    -
  • -
    -
    -
    public class Opponent
    -extends java.lang.Object
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      (package private) java.util.HashMap<negotiator.issue.Issue,java.util.HashMap<negotiator.issue.Value,java.lang.Integer>>AcceptedValueFrequency 
      (package private) java.util.ArrayList<negotiator.Bid>AcceptHistory 
      (package private) negotiator.AgentIDagentID 
      (package private) java.lang.DoubleAverage 
      (package private) java.lang.DoubleBestOfferUtil 
      (package private) java.lang.DoubleBestOfferUtilWithoutLastOffer 
      (package private) java.util.ArrayList<negotiator.Bid>BidHistory 
      (package private) java.lang.DoubleH 
      (package private) java.lang.DoublePowSum 
      private java.util.Randomrandom 
      (package private) java.lang.DoubleStandardDeviation 
      (package private) java.lang.DoubleSum 
      (package private) java.util.ArrayList<java.lang.Double>TimeBidHistory 
      (package private) java.util.HashMap<negotiator.issue.Issue,java.util.HashMap<negotiator.issue.Value,java.lang.Integer>>ValueFrequency 
      (package private) java.util.HashMap<negotiator.issue.Issue,java.util.HashMap<negotiator.issue.Value,java.lang.Double>>ValueFrequencyWeighted 
      (package private) java.lang.DoubleVariance 
      (package private) java.lang.DoubleWorstOfferUtil 
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      Opponent(negotiator.AgentID agentID, - java.util.Random RNG) 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      java.lang.StringtoString() 
      voidupdateAcceptedFrequency(negotiator.issue.Issue issue, - negotiator.issue.Value value, - int weight) 
      voidupdateFrequency(negotiator.issue.Issue issue, - negotiator.issue.Value value, - int weight) 
      (package private) doubleupdateNegotiatingInfo(negotiator.Bid offeredBid, - double timeOfTheOffer, - negotiator.utility.AbstractUtilitySpace utilitySpace) 
      voidupdateWeightedFrequency(negotiator.issue.Issue issue, - negotiator.issue.Value value, - java.lang.Double weight) 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        agentID

        -
        negotiator.AgentID agentID
        -
      • -
      - - - -
        -
      • -

        BidHistory

        -
        java.util.ArrayList<negotiator.Bid> BidHistory
        -
      • -
      - - - -
        -
      • -

        AcceptHistory

        -
        java.util.ArrayList<negotiator.Bid> AcceptHistory
        -
      • -
      - - - -
        -
      • -

        TimeBidHistory

        -
        java.util.ArrayList<java.lang.Double> TimeBidHistory
        -
      • -
      - - - -
        -
      • -

        H

        -
        java.lang.Double H
        -
      • -
      - - - -
        -
      • -

        Average

        -
        java.lang.Double Average
        -
      • -
      - - - -
        -
      • -

        Variance

        -
        java.lang.Double Variance
        -
      • -
      - - - -
        -
      • -

        Sum

        -
        java.lang.Double Sum
        -
      • -
      - - - -
        -
      • -

        PowSum

        -
        java.lang.Double PowSum
        -
      • -
      - - - -
        -
      • -

        StandardDeviation

        -
        java.lang.Double StandardDeviation
        -
      • -
      - - - -
        -
      • -

        WorstOfferUtil

        -
        java.lang.Double WorstOfferUtil
        -
      • -
      - - - -
        -
      • -

        BestOfferUtil

        -
        java.lang.Double BestOfferUtil
        -
      • -
      - - - -
        -
      • -

        BestOfferUtilWithoutLastOffer

        -
        java.lang.Double BestOfferUtilWithoutLastOffer
        -
      • -
      - - - -
        -
      • -

        ValueFrequency

        -
        java.util.HashMap<negotiator.issue.Issue,java.util.HashMap<negotiator.issue.Value,java.lang.Integer>> ValueFrequency
        -
      • -
      - - - -
        -
      • -

        ValueFrequencyWeighted

        -
        java.util.HashMap<negotiator.issue.Issue,java.util.HashMap<negotiator.issue.Value,java.lang.Double>> ValueFrequencyWeighted
        -
      • -
      - - - -
        -
      • -

        AcceptedValueFrequency

        -
        java.util.HashMap<negotiator.issue.Issue,java.util.HashMap<negotiator.issue.Value,java.lang.Integer>> AcceptedValueFrequency
        -
      • -
      - - - -
        -
      • -

        random

        -
        private java.util.Random random
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Opponent

        -
        Opponent(negotiator.AgentID agentID,
        -         java.util.Random RNG)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        updateNegotiatingInfo

        -
        double updateNegotiatingInfo(negotiator.Bid offeredBid,
        -                             double timeOfTheOffer,
        -                             negotiator.utility.AbstractUtilitySpace utilitySpace)
        -
      • -
      - - - -
        -
      • -

        updateAcceptedFrequency

        -
        public void updateAcceptedFrequency(negotiator.issue.Issue issue,
        -                                    negotiator.issue.Value value,
        -                                    int weight)
        -
      • -
      - - - -
        -
      • -

        updateWeightedFrequency

        -
        public void updateWeightedFrequency(negotiator.issue.Issue issue,
        -                                    negotiator.issue.Value value,
        -                                    java.lang.Double weight)
        -
      • -
      - - - -
        -
      • -

        updateFrequency

        -
        public void updateFrequency(negotiator.issue.Issue issue,
        -                            negotiator.issue.Value value,
        -                            int weight)
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/javadoc/AgentCore/ThrashAgent.html b/javadoc/AgentCore/ThrashAgent.html deleted file mode 100644 index bf0a80a..0000000 --- a/javadoc/AgentCore/ThrashAgent.html +++ /dev/null @@ -1,517 +0,0 @@ - - - - - -ThrashAgent - - - - - - - - -
- - - - - - - -
- - - -
-
AgentCore
-

Class ThrashAgent

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    AgentAPI, java.io.Serializable, negotiator.parties.NegotiationParty
    -
    -
    -
    Direct Known Subclasses:
    -
    BestAgent, TimeAgentWithoutMem
    -
    -
    -
    -
    public abstract class ThrashAgent
    -extends negotiator.parties.AbstractNegotiationParty
    -implements AgentAPI
    -
    Agent BestAgent.
    -
    -
    See Also:
    -
    Serialized Form
    -
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      ThrashAgent() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      negotiator.actions.ActionchooseAction(java.util.List<java.lang.Class<? extends negotiator.actions.Action>> validActions) -
      Each round this method gets called and ask you to accept or offer.
      -
      voidinit(negotiator.parties.NegotiationInfo info) 
      voidreceiveMessage(negotiator.AgentID sender, - negotiator.actions.Action action) -
      All offers proposed by the other parties will be received as a message.
      -
      -
        -
      • - - -

        Methods inherited from class negotiator.parties.AbstractNegotiationParty

        -generateRandomBid, getData, getDeadlines, getLastReceivedAction, getNumberOfParties, getPartyId, getProtocol, getRandomValue, getTimeLine, getUtility, getUtilitySpace, getUtilityWithDiscount, negotiationEnded, toString
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      - -
        -
      • - - -

        Methods inherited from interface negotiator.parties.NegotiationParty

        -getDescription
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - - - - - - - - - -
        -
      • -

        ValueFrequencySel

        -
        static ValFreqEnum ValueFrequencySel
        -
      • -
      - - - -
        -
      • -

        utilitySpace

        -
        private negotiator.utility.AbstractUtilitySpace utilitySpace
        -
      • -
      - - - - - - - - - - - -
        -
      • -

        supporter_num

        -
        private int supporter_num
        -
      • -
      - - - -
        -
      • -

        offeredBid

        -
        private negotiator.Bid offeredBid
        -
      • -
      - - - -
        -
      • -

        RNG

        -
        private java.util.Random RNG
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        ThrashAgent

        -
        public ThrashAgent()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        init

        -
        public void init(negotiator.parties.NegotiationInfo info)
        -
        -
        Specified by:
        -
        init in interface negotiator.parties.NegotiationParty
        -
        Overrides:
        -
        init in class negotiator.parties.AbstractNegotiationParty
        -
        -
      • -
      - - - -
        -
      • -

        chooseAction

        -
        public negotiator.actions.Action chooseAction(java.util.List<java.lang.Class<? extends negotiator.actions.Action>> validActions)
        -
        Each round this method gets called and ask you to accept or offer. The - first party in the first round is a bit different, it can only propose an - offer.
        -
        -
        Specified by:
        -
        chooseAction in interface negotiator.parties.NegotiationParty
        -
        Parameters:
        -
        validActions - Either a list containing both accept and offer or only offer.
        -
        Returns:
        -
        The chosen action.
        -
        -
      • -
      - - - -
        -
      • -

        receiveMessage

        -
        public void receiveMessage(negotiator.AgentID sender,
        -                           negotiator.actions.Action action)
        -
        All offers proposed by the other parties will be received as a message. - You can use this information to your advantage, for example to predict - their utility.
        -
        -
        Specified by:
        -
        receiveMessage in interface negotiator.parties.NegotiationParty
        -
        Overrides:
        -
        receiveMessage in class negotiator.parties.AbstractNegotiationParty
        -
        Parameters:
        -
        sender - The party that did the action. Can be null.
        -
        action - The action that party did.
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/javadoc/AgentCore/package-frame.html b/javadoc/AgentCore/package-frame.html deleted file mode 100644 index 89583cb..0000000 --- a/javadoc/AgentCore/package-frame.html +++ /dev/null @@ -1,27 +0,0 @@ - - - - - -AgentCore - - - - - -

AgentCore

-
-

Interfaces

- -

Classes

- -
- - diff --git a/javadoc/AgentCore/package-summary.html b/javadoc/AgentCore/package-summary.html deleted file mode 100644 index 4d356ef..0000000 --- a/javadoc/AgentCore/package-summary.html +++ /dev/null @@ -1,171 +0,0 @@ - - - - - -AgentCore - - - - - - - - -
- - - - - - - -
- - -
-

Package AgentCore

-
-
- -
- -
- - - - - - - -
- - - - diff --git a/javadoc/AgentCore/package-tree.html b/javadoc/AgentCore/package-tree.html deleted file mode 100644 index aeccfc3..0000000 --- a/javadoc/AgentCore/package-tree.html +++ /dev/null @@ -1,147 +0,0 @@ - - - - - -AgentCore Class Hierarchy - - - - - - - - -
- - - - - - - -
- - -
-

Hierarchy For Package AgentCore

-Package Hierarchies: - -
-
-

Class Hierarchy

- -

Interface Hierarchy

- -
- -
- - - - - - - -
- - - - diff --git a/javadoc/Bad/BadAgent.html b/javadoc/Bad/BadAgent.html deleted file mode 100644 index b0f028e..0000000 --- a/javadoc/Bad/BadAgent.html +++ /dev/null @@ -1,355 +0,0 @@ - - - - - -BadAgent - - - - - - - - -
- - - - - - - -
- - - -
-
Bad
-

Class BadAgent

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.io.Serializable, negotiator.parties.NegotiationParty
    -
    -
    -
    Direct Known Subclasses:
    -
    BadAgentImpl
    -
    -
    -
    -
    public abstract class BadAgent
    -extends negotiator.parties.AbstractNegotiationParty
    -
    -
    See Also:
    -
    Serialized Form
    -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      -
        -
      • - - -

        Fields inherited from class negotiator.parties.AbstractNegotiationParty

        -rand, timeline, utilitySpace
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      BadAgent() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      negotiator.actions.ActionchooseAction(java.util.List<java.lang.Class<? extends negotiator.actions.Action>> validActions) 
      voidinit(negotiator.parties.NegotiationInfo info) 
      voidreceiveMessage(negotiator.AgentID sender, - negotiator.actions.Action action) 
      -
        -
      • - - -

        Methods inherited from class negotiator.parties.AbstractNegotiationParty

        -generateRandomBid, getData, getDeadlines, getLastReceivedAction, getNumberOfParties, getPartyId, getProtocol, getRandomValue, getTimeLine, getUtility, getUtilitySpace, getUtilityWithDiscount, negotiationEnded, toString
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
        -
      • - - -

        Methods inherited from interface negotiator.parties.NegotiationParty

        -getDescription
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        BadAgent

        -
        public BadAgent()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        init

        -
        public void init(negotiator.parties.NegotiationInfo info)
        -
        -
        Specified by:
        -
        init in interface negotiator.parties.NegotiationParty
        -
        Overrides:
        -
        init in class negotiator.parties.AbstractNegotiationParty
        -
        -
      • -
      - - - -
        -
      • -

        chooseAction

        -
        public negotiator.actions.Action chooseAction(java.util.List<java.lang.Class<? extends negotiator.actions.Action>> validActions)
        -
      • -
      - - - -
        -
      • -

        receiveMessage

        -
        public void receiveMessage(negotiator.AgentID sender,
        -                           negotiator.actions.Action action)
        -
        -
        Specified by:
        -
        receiveMessage in interface negotiator.parties.NegotiationParty
        -
        Overrides:
        -
        receiveMessage in class negotiator.parties.AbstractNegotiationParty
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/javadoc/Bad/BadOpponent.html b/javadoc/Bad/BadOpponent.html deleted file mode 100644 index 613bbeb..0000000 --- a/javadoc/Bad/BadOpponent.html +++ /dev/null @@ -1,331 +0,0 @@ - - - - - -BadOpponent - - - - - - - - -
- - - - - - - -
- - - -
-
Bad
-

Class BadOpponent

-
-
- -
-
    -
  • -
    -
    -
    public class BadOpponent
    -extends java.lang.Object
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      negotiator.BidHistorybidHistory 
      negotiator.AgentIDopponentID 
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      BadOpponent(negotiator.AgentID id) 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      voidaddToHistory(negotiator.bidding.BidDetails bid) 
      negotiator.BidHistorygetBidHistory() 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        opponentID

        -
        public negotiator.AgentID opponentID
        -
      • -
      - - - -
        -
      • -

        bidHistory

        -
        public negotiator.BidHistory bidHistory
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        BadOpponent

        -
        public BadOpponent(negotiator.AgentID id)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getBidHistory

        -
        public negotiator.BidHistory getBidHistory()
        -
      • -
      - - - -
        -
      • -

        addToHistory

        -
        public void addToHistory(negotiator.bidding.BidDetails bid)
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/javadoc/Bad/package-frame.html b/javadoc/Bad/package-frame.html deleted file mode 100644 index 7781805..0000000 --- a/javadoc/Bad/package-frame.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - -Bad - - - - - -

Bad

-
-

Classes

- -
- - diff --git a/javadoc/Bad/package-summary.html b/javadoc/Bad/package-summary.html deleted file mode 100644 index 5d6bf04..0000000 --- a/javadoc/Bad/package-summary.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - -Bad - - - - - - - - -
- - - - - - - -
- - -
-

Package Bad

-
-
- -
- -
- - - - - - - -
- - - - diff --git a/javadoc/Bad/package-tree.html b/javadoc/Bad/package-tree.html deleted file mode 100644 index 38d5967..0000000 --- a/javadoc/Bad/package-tree.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - -Bad Class Hierarchy - - - - - - - - -
- - - - - - - -
- - -
-

Hierarchy For Package Bad

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- -
- - - - - - - -
- - - - diff --git a/javadoc/BadAgentImpl.html b/javadoc/BadAgentImpl.html deleted file mode 100644 index c646e27..0000000 --- a/javadoc/BadAgentImpl.html +++ /dev/null @@ -1,315 +0,0 @@ - - - - - -BadAgentImpl - - - - - - - - -
- - - - - - - -
- - - -
-

Class BadAgentImpl

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.io.Serializable, negotiator.parties.NegotiationParty
    -
    -
    -
    -
    public class BadAgentImpl
    -extends BadAgent
    -
    -
    See Also:
    -
    Serialized Form
    -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      -
        -
      • - - -

        Fields inherited from class negotiator.parties.AbstractNegotiationParty

        -rand, timeline, utilitySpace
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      BadAgentImpl() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      java.lang.StringgetDescription() 
      - -
        -
      • - - -

        Methods inherited from class negotiator.parties.AbstractNegotiationParty

        -generateRandomBid, getData, getDeadlines, getLastReceivedAction, getNumberOfParties, getPartyId, getProtocol, getRandomValue, getTimeLine, getUtility, getUtilitySpace, getUtilityWithDiscount, negotiationEnded, toString
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        BadAgentImpl

        -
        public BadAgentImpl()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getDescription

        -
        public java.lang.String getDescription()
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/javadoc/BestAgent.html b/javadoc/BestAgent.html index 02d89fc..28e856d 100644 --- a/javadoc/BestAgent.html +++ b/javadoc/BestAgent.html @@ -2,9 +2,9 @@ - + BestAgent - + @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10}; +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -48,8 +48,8 @@ -
A B C G I N O R S T U V  +
A B C G I L N O R S T U V 

A

-
addToHistory(BidDetails) - Method in class Bad.BadOpponent
-
 
AgentAPI - Interface in Core
 
-
analyzeHistory() - Method in class Core.BidHistory
-
 
AppropriateSearch(Bid, double) - Method in class Core.BidStrategy
 
-A B C G I N O R S T U V 
+A B C G I L N O R S T U V 
diff --git a/javadoc/index-files/index-10.html b/javadoc/index-files/index-10.html index 36f00fb..c731ad5 100644 --- a/javadoc/index-files/index-10.html +++ b/javadoc/index-files/index-10.html @@ -2,9 +2,9 @@ - -T-Index - + +S-Index + @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ - - - - - -
- - - - - - - -
- - -
A B C D E G H I M N O P R S T U V W  - - -

S

-
-
SAparams - Variable in class AgentCore.BidStrategy
-
 
-
SAparams - Class in Utils
-
-
Simulated annealing parameters
-
-
SAparams() - Constructor for class Utils.SAparams
-
 
-
SAparams(double, double, double, int) - Constructor for class Utils.SAparams
-
 
-
SearchingMethod - Static variable in class AgentCore.ThrashAgent
-
 
-
SearchMethodEnum - Enum in Utils
-
-
The preferred method of searching through solutions.
-
-
SearchMethodEnum() - Constructor for enum Utils.SearchMethodEnum
-
 
-
selectEndNegotiation(double) - Method in class AgentCore.BidStrategy
-
-
End negotiations when discount factor is too small.
-
-
SimulatedAnnealing(double, double, Bid) - Method in class AgentCore.BidStrategy
-
-
Performs Simulated annealing (SimulatedAnnealing), a probabilistic technique for approximating the global optimum of a given function.
-
-
SimulatedAnnealingSearch(Bid) - Method in class AgentCore.BidStrategy
-
-
When it can not find the Bid with a large utility value than the boundary value, return the baseBid - utility value returns a Bid which is near the boundary value
-
-
SimulatedAnnealingUop(Bid, double, double) - Method in class AgentCore.BidStrategy
-
-
Simulated Annealing for UOP
-
-
StandardDeviation - Variable in class AgentCore.Opponent
-
 
-
startTemperature - Variable in class Utils.SAparams
-
 
-
stepNum - Variable in class Utils.SAparams
-
 
-
StrategyEnum - Enum in Utils
-
-
The AgentStrat used by the agent to accept offers.
-
-
StrategyEnum() - Constructor for enum Utils.StrategyEnum
-
 
-
Sum - Variable in class AgentCore.Opponent
-
 
-
supporter_num - Variable in class AgentCore.ThrashAgent
-
 
-
-A B C D E G H I M N O P R S T U V W 
- -
- - - - - - - -
- - - - diff --git a/javadoc/index-files/index-15.html b/javadoc/index-files/index-15.html deleted file mode 100644 index 3a1f788..0000000 --- a/javadoc/index-files/index-15.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - -T-Index - - - - - - - - -
- - - - - - - -
- - -
A B C D E G H I M N O P R S T U V W  - - -

T

-
-
targetEnd(double) - Method in class AgentCore.BidStrategy
-
-
(Eq.13.5)
-
-
targetTime(double) - Method in class AgentCore.BidStrategy
-
-
(Eq.13.6)
-
-
ThrashAgent - Class in AgentCore
-
-
Agent BestAgent.
-
-
ThrashAgent() - Constructor for class AgentCore.ThrashAgent
-
 
-
BestAgent - Class in <Unnamed>
-
 
-
BestAgent() - Constructor for class BestAgent
-
 
-
TimeAgentWithoutMem - Class in <Unnamed>
-
 
-
TimeAgentWithoutMem() - Constructor for class TimeAgentWithoutMem
-
 
-
TimeBidHistory - Variable in class AgentCore.Opponent
-
 
-
toString() - Method in class AgentCore.Opponent
-
 
-
-A B C D E G H I M N O P R S T U V W 
- -
- - - - - - - -
- - - - diff --git a/javadoc/index-files/index-16.html b/javadoc/index-files/index-16.html deleted file mode 100644 index 6f7b41e..0000000 --- a/javadoc/index-files/index-16.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - -U-Index - - - - - - - - -
- - - - - - - -
- - -
A B C D E G H I M N O P R S T U V W  - - -

U

-
-
Uop(Bid, double) - Method in class AgentCore.BidStrategy
-
 
-
updateAcceptanceHistory(AgentID, Bid) - Method in class AgentCore.NegotiationStatistics
-
 
-
updateAcceptedFrequency(Issue, Value, int) - Method in class AgentCore.Opponent
-
 
-
updateFrequency(Issue, Value, int) - Method in class AgentCore.Opponent
-
 
-
updateInfo(AgentID, Bid, double) - Method in class AgentCore.NegotiationStatistics
-
-
Update of negotiations information.
-
-
updateMyBidHistory(Bid) - Method in class AgentCore.NegotiationStatistics
-
-
Update of own proposal information.
-
-
updateNegotiatingInfo(Bid, double, AbstractUtilitySpace) - Method in class AgentCore.Opponent
-
 
-
updateOpponentsNum(int) - Method in class AgentCore.NegotiationStatistics
-
-
Updates the negotiator number.
-
-
updatePopularBidList(Bid) - Method in class AgentCore.NegotiationStatistics
-
 
-
updateWeightedFrequency(Issue, Value, Double) - Method in class AgentCore.Opponent
-
 
-
UtilityComparator() - Constructor for class AgentCore.NegotiationStatistics.UtilityComparator
-
 
-
utilitySpace - Variable in class AgentCore.BidStrategy
-
 
-
utilitySpace - Variable in class AgentCore.NegotiationStatistics
-
 
-
utilitySpace - Variable in class AgentCore.ThrashAgent
-
 
-
Utils - package Utils
-
 
-
-A B C D E G H I M N O P R S T U V W 
- -
- - - - - - - -
- - - - diff --git a/javadoc/index-files/index-17.html b/javadoc/index-files/index-17.html deleted file mode 100644 index 69b801b..0000000 --- a/javadoc/index-files/index-17.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - - -V-Index - - - - - - - - -
- - - - - - - -
- - -
A B C D E G H I M N O P R S T U V W  - - -

V

-
-
ValFreqEnum - Enum in Utils
-
 
-
ValFreqEnum() - Constructor for enum Utils.ValFreqEnum
-
 
-
ValueFrequency - Variable in class AgentCore.Opponent
-
 
-
ValueFrequencySel - Static variable in class AgentCore.ThrashAgent
-
 
-
ValueFrequencyWeighted - Variable in class AgentCore.Opponent
-
 
-
valueOf(String) - Static method in enum Utils.SearchMethodEnum
-
-
Returns the enum constant of this type with the specified name.
-
-
valueOf(String) - Static method in enum Utils.StrategyEnum
-
-
Returns the enum constant of this type with the specified name.
-
-
valueOf(String) - Static method in enum Utils.ValFreqEnum
-
-
Returns the enum constant of this type with the specified name.
-
-
valueRelativeUtility - Variable in class AgentCore.NegotiationStatistics
-
 
-
values() - Static method in enum Utils.SearchMethodEnum
-
-
Returns an array containing the constants of this enum type, in -the order they are declared.
-
-
values() - Static method in enum Utils.StrategyEnum
-
-
Returns an array containing the constants of this enum type, in -the order they are declared.
-
-
values() - Static method in enum Utils.ValFreqEnum
-
-
Returns an array containing the constants of this enum type, in -the order they are declared.
-
-
Variance - Variable in class AgentCore.Opponent
-
 
-
-A B C D E G H I M N O P R S T U V W 
- -
- - - - - - - -
- - - - diff --git a/javadoc/index-files/index-18.html b/javadoc/index-files/index-18.html deleted file mode 100644 index c665145..0000000 --- a/javadoc/index-files/index-18.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - -W-Index - - - - - - - - -
- - - - - - - -
- - -
A B C D E G H I M N O P R S T U V W  - - -

W

-
-
WorstOfferUtil - Variable in class AgentCore.Opponent
-
 
-
-A B C D E G H I M N O P R S T U V W 
- -
- - - - - - - -
- - - - diff --git a/javadoc/index-files/index-2.html b/javadoc/index-files/index-2.html index 6a5e91b..9c0de54 100644 --- a/javadoc/index-files/index-2.html +++ b/javadoc/index-files/index-2.html @@ -2,9 +2,9 @@ - + B-Index - + @@ -68,34 +68,24 @@
-
A B C G I N O R S T U V  +
A B C G I L N O R S T U V 

B

-
Bad - package Bad
-
 
-
BadAgent - Class in Bad
-
 
-
BadAgent() - Constructor for class Bad.BadAgent
-
 
-
BadAgentImpl - Class in <Unnamed>
-
 
-
BadAgentImpl() - Constructor for class BadAgentImpl
-
 
-
BadOpponent - Class in Bad
-
 
-
BadOpponent(AgentID) - Constructor for class Bad.BadOpponent
-
 
BestAgent - Class in <Unnamed>
 
BestAgent() - Constructor for class BestAgent
 
-
bidHistory - Variable in class Bad.BadOpponent
+
BestAgentWithoutMem - Class in <Unnamed>
+
 
+
BestAgentWithoutMem() - Constructor for class BestAgentWithoutMem
 
BidHistory - Class in Core
 
-
BidHistory(PersistentDataContainer) - Constructor for class Core.BidHistory
+
BidHistory(NegotiationInfo, Random, PersistentDataContainer) - Constructor for class Core.BidHistory
+
 
+
bidHistory - Static variable in class Core.ThrashAgent
 
BidStrategy - Class in Core
 
@@ -104,7 +94,7 @@

B

Initialises utility space related vars and finds the initial max bid.
-A B C G I N O R S T U V 
+A B C G I L N O R S T U V 
diff --git a/javadoc/index-files/index-3.html b/javadoc/index-files/index-3.html index a7bc25a..86f2a40 100644 --- a/javadoc/index-files/index-3.html +++ b/javadoc/index-files/index-3.html @@ -2,9 +2,9 @@ - + C-Index - + @@ -68,13 +68,11 @@
-
A B C G I N O R S T U V  +
A B C G I L N O R S T U V 

C

-
chooseAction(List<Class<? extends Action>>) - Method in class Bad.BadAgent
-
 
chooseAction(List<Class<? extends Action>>) - Method in class Core.ThrashAgent
Each round this method gets called and ask you to accept or offer.
@@ -84,7 +82,7 @@

C

Core - package Core
 
-A B C G I N O R S T U V 
+A B C G I L N O R S T U V 
diff --git a/javadoc/index-files/index-4.html b/javadoc/index-files/index-4.html index 2cc1ab1..751c188 100644 --- a/javadoc/index-files/index-4.html +++ b/javadoc/index-files/index-4.html @@ -2,9 +2,9 @@ - + G-Index - + @@ -68,96 +68,150 @@
-
A B C G I N O R S T U V  +
A B C G I L N O R S T U V 

G

+
getAcceptedUtils() - Method in class Core.BidHistory
+
 
getAgentStrategy() - Method in class BestAgent
 
+
getAgentStrategy() - Method in class BestAgentWithoutMem
+
 
getAgentStrategy() - Method in interface Core.AgentAPI
Sets the agent strategy.
-
getAgentStrategy() - Method in class Thresh1
+
getAgentStrategy() - Method in class TimeAgent
 
-
getAgentStrategy() - Method in class TimeAgentWithoutMem
+
getAgentStrategy() - Method in class TimeAgentWithoutMem
 
-
getBidHistory() - Method in class Bad.BadOpponent
+
getBestOfferedUtils() - Method in class Core.BidHistory
 
getBidUtilThreshold() - Method in class BestAgent
 
+
getBidUtilThreshold() - Method in class BestAgentWithoutMem
+
 
getBidUtilThreshold() - Method in interface Core.AgentAPI
Set bid utility threshold.
-
getBidUtilThreshold() - Method in class Thresh1
+
getBidUtilThreshold() - Method in class TimeAgent
+
 
+
getBidUtilThreshold() - Method in class TimeAgentWithoutMem
+
 
+
getConcessionThreshold() - Method in class BestAgent
+
 
+
getConcessionThreshold() - Method in class BestAgentWithoutMem
+
 
+
getConcessionThreshold() - Method in interface Core.AgentAPI
+
+
Value after which the agent will offer the min best received offer.
+
+
getConcessionThreshold() - Method in class TimeAgent
 
-
getBidUtilThreshold() - Method in class TimeAgentWithoutMem
+
getConcessionThreshold() - Method in class TimeAgentWithoutMem
 
getCool() - Method in class Utils.SimulatedAnnealingParams
 
getCutoffValue() - Method in class BestAgent
 
+
getCutoffValue() - Method in class BestAgentWithoutMem
+
 
getCutoffValue() - Method in interface Core.AgentAPI
Return the "relative zero".
-
getCutoffValue() - Method in class Thresh1
+
getCutoffValue() - Method in class TimeAgent
 
-
getCutoffValue() - Method in class TimeAgentWithoutMem
-
 
-
getDescription() - Method in class BadAgentImpl
+
getCutoffValue() - Method in class TimeAgentWithoutMem
 
getDescription() - Method in class BestAgent
 
-
getDescription() - Method in class Thresh1
+
getDescription() - Method in class BestAgentWithoutMem
+
 
+
getDescription() - Method in class TimeAgent
 
-
getDescription() - Method in class TimeAgentWithoutMem
+
getDescription() - Method in class TimeAgentWithoutMem
 
getEndTemperature() - Method in class Utils.SimulatedAnnealingParams
 
getFrequencyValueSelection() - Method in class BestAgent
 
+
getFrequencyValueSelection() - Method in class BestAgentWithoutMem
+
 
getFrequencyValueSelection() - Method in interface Core.AgentAPI
Sets the agent frequency value selection method.
-
getFrequencyValueSelection() - Method in class Thresh1
+
getFrequencyValueSelection() - Method in class TimeAgent
+
 
+
getFrequencyValueSelection() - Method in class TimeAgentWithoutMem
 
-
getFrequencyValueSelection() - Method in class TimeAgentWithoutMem
+
getLuckyValue(AgentID) - Method in class Core.BidHistory
 
getMaxBid() - Method in class Core.BidStrategy
 
+
getMemoryDepth() - Method in class BestAgent
+
 
+
getMemoryDepth() - Method in class BestAgentWithoutMem
+
 
+
getMemoryDepth() - Method in interface Core.AgentAPI
+
+
Number of previous rounds to to search in history.
+
+
getMemoryDepth() - Method in class TimeAgent
+
 
+
getMemoryDepth() - Method in class TimeAgentWithoutMem
+
 
getRand() - Method in class BestAgent
 
+
getRand() - Method in class BestAgentWithoutMem
+
 
getRand() - Method in interface Core.AgentAPI
Sets the random number generator.
-
getRand() - Method in class Thresh1
+
getRand() - Method in class TimeAgent
 
-
getRand() - Method in class TimeAgentWithoutMem
+
getRand() - Method in class TimeAgentWithoutMem
 
getSearchingMethod() - Method in class BestAgent
 
+
getSearchingMethod() - Method in class BestAgentWithoutMem
+
 
getSearchingMethod() - Method in interface Core.AgentAPI
Sets the agent searching method.
-
getSearchingMethod() - Method in class Thresh1
+
getSearchingMethod() - Method in class TimeAgent
 
-
getSearchingMethod() - Method in class TimeAgentWithoutMem
+
getSearchingMethod() - Method in class TimeAgentWithoutMem
 
getSimulatedAnnealingParams() - Method in class BestAgent
 
+
getSimulatedAnnealingParams() - Method in class BestAgentWithoutMem
+
 
getSimulatedAnnealingParams() - Method in interface Core.AgentAPI
Sets the simulated annealing parameters.
-
getSimulatedAnnealingParams() - Method in class Thresh1
+
getSimulatedAnnealingParams() - Method in class TimeAgent
+
 
+
getSimulatedAnnealingParams() - Method in class TimeAgentWithoutMem
+
 
+
getSoftConcessionThreshold() - Method in class BestAgent
+
 
+
getSoftConcessionThreshold() - Method in class BestAgentWithoutMem
+
 
+
getSoftConcessionThreshold() - Method in interface Core.AgentAPI
+
+
After this time threshold start offering enemy smallest offers from history.
+
+
getSoftConcessionThreshold() - Method in class TimeAgent
 
-
getSimulatedAnnealingParams() - Method in class TimeAgentWithoutMem
+
getSoftConcessionThreshold() - Method in class TimeAgentWithoutMem
 
getStartTemperature() - Method in class Utils.SimulatedAnnealingParams
 
@@ -165,26 +219,32 @@

G

 
getTimeScalingFactor() - Method in class BestAgent
 
+
getTimeScalingFactor() - Method in class BestAgentWithoutMem
+
 
getTimeScalingFactor() - Method in interface Core.AgentAPI
Scaling in TIME strategy.
-
getTimeScalingFactor() - Method in class Thresh1
+
getTimeScalingFactor() - Method in class TimeAgent
 
-
getTimeScalingFactor() - Method in class TimeAgentWithoutMem
+
getTimeScalingFactor() - Method in class TimeAgentWithoutMem
 
getVetoVal() - Method in class BestAgent
 
+
getVetoVal() - Method in class BestAgentWithoutMem
+
 
getVetoVal() - Method in interface Core.AgentAPI
Reject all bids below this value.
-
getVetoVal() - Method in class Thresh1
+
getVetoVal() - Method in class TimeAgent
+
 
+
getVetoVal() - Method in class TimeAgentWithoutMem
 
-
getVetoVal() - Method in class TimeAgentWithoutMem
+
getWorstOfferedUtils() - Method in class Core.BidHistory
 
-A B C G I N O R S T U V 
+A B C G I L N O R S T U V 
diff --git a/javadoc/index-files/index-5.html b/javadoc/index-files/index-5.html index 667c870..ad8a645 100644 --- a/javadoc/index-files/index-5.html +++ b/javadoc/index-files/index-5.html @@ -2,9 +2,9 @@ - + I-Index - + @@ -68,21 +68,19 @@
-
A B C G I N O R S T U V  +
A B C G I L N O R S T U V 

I

-
init(NegotiationInfo) - Method in class Bad.BadAgent
-
 
init(NegotiationInfo) - Method in class BestAgent
 
-
init(NegotiationInfo) - Method in class Core.ThrashAgent
+
init(NegotiationInfo) - Method in class BestAgentWithoutMem
 
-
init(NegotiationInfo) - Method in class Thresh1
+
init(NegotiationInfo) - Method in class Core.ThrashAgent
 
-A B C G I N O R S T U V 
+A B C G I L N O R S T U V 
diff --git a/javadoc/index-files/index-6.html b/javadoc/index-files/index-6.html index bc35b6c..2996de1 100644 --- a/javadoc/index-files/index-6.html +++ b/javadoc/index-files/index-6.html @@ -2,9 +2,9 @@ - -N-Index - + +L-Index + @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@ @@ -14,7 +14,6 @@

Packages

diff --git a/javadoc/overview-summary.html b/javadoc/overview-summary.html index d59175d..e391c91 100644 --- a/javadoc/overview-summary.html +++ b/javadoc/overview-summary.html @@ -2,9 +2,9 @@ - + Overview - + @@ -77,14 +77,10 @@ -Bad -  - - Core   - + Utils   diff --git a/javadoc/overview-tree.html b/javadoc/overview-tree.html index f715b3f..c34f3d1 100644 --- a/javadoc/overview-tree.html +++ b/javadoc/overview-tree.html @@ -2,9 +2,9 @@ - + Class Hierarchy - + @@ -72,7 +72,6 @@

Hierarchy For All Packages

Package Hierarchies: @@ -84,21 +83,16 @@

Class Hierarchy