scg
Class SCGConfig

java.lang.Object
  extended by scg.SCGConfig

public class SCGConfig
extends java.lang.Object

Representation of SCGConfig


Nested Class Summary
static class SCGConfig.domain
          Field Class for SCGConfig.domain
static class SCGConfig.initialReputation
          Field Class for SCGConfig.initialReputation
static class SCGConfig.maxNumAvatars
          Field Class for SCGConfig.maxNumAvatars
static class SCGConfig.maxProposals
          Field Class for SCGConfig.maxProposals
static class SCGConfig.maxReputation
          Field Class for SCGConfig.maxReputation
static class SCGConfig.minConfidence
          Field Class for SCGConfig.minConfidence
static class SCGConfig.minProposals
          Field Class for SCGConfig.minProposals
static class SCGConfig.minStrengthening
          Field Class for SCGConfig.minStrengthening
static class SCGConfig.numRounds
          Field Class for SCGConfig.numRounds
static class SCGConfig.proposedClaimMustBeNew
          Field Class for SCGConfig.proposedClaimMustBeNew
static class SCGConfig.protocols
          Field Class for SCGConfig.protocols
static class SCGConfig.reputationFactor
          Field Class for SCGConfig.reputationFactor
static class SCGConfig.tournamentStyle
          Field Class for SCGConfig.tournamentStyle
static class SCGConfig.turnDuration
          Field Class for SCGConfig.turnDuration
 
Constructor Summary
SCGConfig(scg.FullyQualifiedClassName domain, edu.neu.ccs.demeterf.lib.Cons<scg.FullyQualifiedClassName> protocols, scg.TournamentStyle tournamentStyle, int turnDuration, int maxNumAvatars, double minStrengthening, double initialReputation, double maxReputation, double reputationFactor, int minProposals, int maxProposals, int numRounds, boolean proposedClaimMustBeNew, double minConfidence)
          Construct a(n) SCGConfig Instance
 
Method Summary
 java.lang.String display()
          DGP method from Class Display
 boolean equals(java.lang.Object o)
          Is the given object Equal to this SCGConfig?
static SCGConfig getDefaultSCGConfig()
           
 scg.FullyQualifiedClassName getDomain()
          Getter for field SCGConfig.domain
 double getInitialReputation()
          Getter for field SCGConfig.initialReputation
 int getMaxNumAvatars()
          Getter for field SCGConfig.maxNumAvatars
 int getMaxProposals()
          Getter for field SCGConfig.maxProposals
 double getMaxReputation()
          Getter for field SCGConfig.maxReputation
 double getMinConfidence()
          Getter for field SCGConfig.minConfidence
 int getMinProposals()
          Getter for field SCGConfig.minProposals
 double getMinStrengthening()
          Getter for field SCGConfig.minStrengthening
 int getNumRounds()
          Getter for field SCGConfig.numRounds
 boolean getProposedClaimMustBeNew()
          Getter for field SCGConfig.proposedClaimMustBeNew
 edu.neu.ccs.demeterf.lib.Cons<scg.FullyQualifiedClassName> getProtocols()
          Getter for field SCGConfig.protocols
 double getReputationFactor()
          Getter for field SCGConfig.reputationFactor
 scg.TournamentStyle getTournamentStyle()
          Getter for field SCGConfig.tournamentStyle
 int getTurnDuration()
          Getter for field SCGConfig.turnDuration
 int hashCode()
          DGP method from Class HashCode
static SCGConfig parse(java.io.InputStream inpt)
          Parse an instance of SCGConfig from the given Stream
static SCGConfig parse(java.io.Reader inpt)
          Parse an instance of SCGConfig from the given Reader
static SCGConfig parse(java.lang.String inpt)
          Parse an instance of SCGConfig from the given String
 java.lang.String print()
          DGP method from Class Print
 void setDomain(scg.FullyQualifiedClassName _domain)
          Setter for field SCGConfig.domain
 void setInitialReputation(double _initialReputation)
          Setter for field SCGConfig.initialReputation
 void setMaxNumAvatars(int _maxNumAvatars)
          Setter for field SCGConfig.maxNumAvatars
 void setMaxProposals(int _maxProposals)
          Setter for field SCGConfig.maxProposals
 void setMaxReputation(double _maxReputation)
          Setter for field SCGConfig.maxReputation
 void setMinConfidence(double _minConfidence)
          Setter for field SCGConfig.minConfidence
 void setMinProposals(int _minProposals)
          Setter for field SCGConfig.minProposals
 void setMinStrengthening(double _minStrengthening)
          Setter for field SCGConfig.minStrengthening
 void setNumRounds(int _numRounds)
          Setter for field SCGConfig.numRounds
 void setProposedClaimMustBeNew(boolean _proposedClaimMustBeNew)
          Setter for field SCGConfig.proposedClaimMustBeNew
 void setProtocols(edu.neu.ccs.demeterf.lib.Cons<scg.FullyQualifiedClassName> _protocols)
          Setter for field SCGConfig.protocols
 void setReputationFactor(double _reputationFactor)
          Setter for field SCGConfig.reputationFactor
 void setTournamentStyle(scg.TournamentStyle _tournamentStyle)
          Setter for field SCGConfig.tournamentStyle
 void setTurnDuration(int _turnDuration)
          Setter for field SCGConfig.turnDuration
 java.lang.String toStr()
          DGP method from Class ToStr
 java.lang.String toString()
          DGP method from Class PrintToString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SCGConfig

public SCGConfig(scg.FullyQualifiedClassName domain,
                 edu.neu.ccs.demeterf.lib.Cons<scg.FullyQualifiedClassName> protocols,
                 scg.TournamentStyle tournamentStyle,
                 int turnDuration,
                 int maxNumAvatars,
                 double minStrengthening,
                 double initialReputation,
                 double maxReputation,
                 double reputationFactor,
                 int minProposals,
                 int maxProposals,
                 int numRounds,
                 boolean proposedClaimMustBeNew,
                 double minConfidence)
Construct a(n) SCGConfig Instance

Method Detail

equals

public boolean equals(java.lang.Object o)
Is the given object Equal to this SCGConfig?

Overrides:
equals in class java.lang.Object

parse

public static SCGConfig parse(java.lang.String inpt)
                       throws scg.ParseException
Parse an instance of SCGConfig from the given String

Throws:
scg.ParseException

parse

public static SCGConfig parse(java.io.InputStream inpt)
                       throws scg.ParseException
Parse an instance of SCGConfig from the given Stream

Throws:
scg.ParseException

parse

public static SCGConfig parse(java.io.Reader inpt)
                       throws scg.ParseException
Parse an instance of SCGConfig from the given Reader

Throws:
scg.ParseException

getDefaultSCGConfig

public static SCGConfig getDefaultSCGConfig()

display

public java.lang.String display()
DGP method from Class Display


print

public java.lang.String print()
DGP method from Class Print


toStr

public java.lang.String toStr()
DGP method from Class ToStr


toString

public java.lang.String toString()
DGP method from Class PrintToString

Overrides:
toString in class java.lang.Object

hashCode

public int hashCode()
DGP method from Class HashCode

Overrides:
hashCode in class java.lang.Object

setDomain

public void setDomain(scg.FullyQualifiedClassName _domain)
Setter for field SCGConfig.domain


setProtocols

public void setProtocols(edu.neu.ccs.demeterf.lib.Cons<scg.FullyQualifiedClassName> _protocols)
Setter for field SCGConfig.protocols


setTournamentStyle

public void setTournamentStyle(scg.TournamentStyle _tournamentStyle)
Setter for field SCGConfig.tournamentStyle


setTurnDuration

public void setTurnDuration(int _turnDuration)
Setter for field SCGConfig.turnDuration


setMaxNumAvatars

public void setMaxNumAvatars(int _maxNumAvatars)
Setter for field SCGConfig.maxNumAvatars


setMinStrengthening

public void setMinStrengthening(double _minStrengthening)
Setter for field SCGConfig.minStrengthening


setInitialReputation

public void setInitialReputation(double _initialReputation)
Setter for field SCGConfig.initialReputation


setMaxReputation

public void setMaxReputation(double _maxReputation)
Setter for field SCGConfig.maxReputation


setReputationFactor

public void setReputationFactor(double _reputationFactor)
Setter for field SCGConfig.reputationFactor


setMinProposals

public void setMinProposals(int _minProposals)
Setter for field SCGConfig.minProposals


setMaxProposals

public void setMaxProposals(int _maxProposals)
Setter for field SCGConfig.maxProposals


setNumRounds

public void setNumRounds(int _numRounds)
Setter for field SCGConfig.numRounds


setProposedClaimMustBeNew

public void setProposedClaimMustBeNew(boolean _proposedClaimMustBeNew)
Setter for field SCGConfig.proposedClaimMustBeNew


setMinConfidence

public void setMinConfidence(double _minConfidence)
Setter for field SCGConfig.minConfidence


getDomain

public scg.FullyQualifiedClassName getDomain()
Getter for field SCGConfig.domain


getProtocols

public edu.neu.ccs.demeterf.lib.Cons<scg.FullyQualifiedClassName> getProtocols()
Getter for field SCGConfig.protocols


getTournamentStyle

public scg.TournamentStyle getTournamentStyle()
Getter for field SCGConfig.tournamentStyle


getTurnDuration

public int getTurnDuration()
Getter for field SCGConfig.turnDuration


getMaxNumAvatars

public int getMaxNumAvatars()
Getter for field SCGConfig.maxNumAvatars


getMinStrengthening

public double getMinStrengthening()
Getter for field SCGConfig.minStrengthening


getInitialReputation

public double getInitialReputation()
Getter for field SCGConfig.initialReputation


getMaxReputation

public double getMaxReputation()
Getter for field SCGConfig.maxReputation


getReputationFactor

public double getReputationFactor()
Getter for field SCGConfig.reputationFactor


getMinProposals

public int getMinProposals()
Getter for field SCGConfig.minProposals


getMaxProposals

public int getMaxProposals()
Getter for field SCGConfig.maxProposals


getNumRounds

public int getNumRounds()
Getter for field SCGConfig.numRounds


getProposedClaimMustBeNew

public boolean getProposedClaimMustBeNew()
Getter for field SCGConfig.proposedClaimMustBeNew


getMinConfidence

public double getMinConfidence()
Getter for field SCGConfig.minConfidence