Serialized Form


Package edu.cuny.cat

Class edu.cuny.cat.GameApplet extends javax.swing.JApplet implements Serializable

serialVersionUID: 1L


Package edu.cuny.cat.comm

Class edu.cuny.cat.comm.CatException extends java.io.IOException implements Serializable

serialVersionUID: 1L

Class edu.cuny.cat.comm.CatpMessageErrorException extends CatpMessageException implements Serializable

serialVersionUID: 1L

Class edu.cuny.cat.comm.CatpMessageException extends MessageException implements Serializable

serialVersionUID: 1L

Class edu.cuny.cat.comm.CatpMessageInvalidException extends CatpMessageException implements Serializable

serialVersionUID: 1L

Class edu.cuny.cat.comm.CatpServerUnavailableException extends ConnectionException implements Serializable

serialVersionUID: 1L

Class edu.cuny.cat.comm.ConnectionClosedException extends ConnectionException implements Serializable

serialVersionUID: 1L

Class edu.cuny.cat.comm.ConnectionException extends CatException implements Serializable

serialVersionUID: 1L

Class edu.cuny.cat.comm.MessageException extends CatException implements Serializable

serialVersionUID: 1L

Class edu.cuny.cat.comm.UnexpectedCatpMessageException extends CatpMessageInvalidException implements Serializable

serialVersionUID: 1L


Package edu.cuny.cat.core

Class edu.cuny.cat.core.AuctionError extends java.lang.Error implements Serializable

serialVersionUID: 1L

Class edu.cuny.cat.core.AuctionException extends java.lang.Exception implements Serializable

serialVersionUID: 1L

Class edu.cuny.cat.core.IllegalShoutException extends AuctionException implements Serializable

serialVersionUID: 1L

Class edu.cuny.cat.core.IllegalShoutInTransactionException extends IllegalTransactionException implements Serializable

serialVersionUID: 1L

Class edu.cuny.cat.core.IllegalTransactionException extends AuctionException implements Serializable

serialVersionUID: 1L

Class edu.cuny.cat.core.IllegalTransactionPriceException extends IllegalTransactionException implements Serializable

serialVersionUID: 1L

Class edu.cuny.cat.core.InvalidChargeException extends AuctionException implements Serializable

serialVersionUID: 1L

Class edu.cuny.cat.core.Shout extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

quantity

int quantity
The number of items offered/wanted.


price

double price
The price of this offer


id

java.lang.String id
The agent placing this offer


trader

Trader trader

specialist

Specialist specialist

isBid

boolean isBid
True if this shout is a bid. False if this shout is an ask.


state

int state

child

Shout child
The child of this shout. In various scenarios, it is used to store the shout attempting to modify this shout.


parent

Shout parent
the parent of this shout. In various scenarios, it is used to store the shout that this shout is attempting to modify.

Class edu.cuny.cat.core.Shout.MutableShout extends Shout implements Serializable

serialVersionUID: 1L


Package edu.cuny.cat.market

Class edu.cuny.cat.market.DuplicateShoutException extends IllegalShoutException implements Serializable

serialVersionUID: 1L

Class edu.cuny.cat.market.GenericDoubleAuctioneer extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

shoutEngine

ShoutEngine shoutEngine
The shout engine for this auction.


executedTransactions

java.util.Map<K,V> executedTransactions
The set of transactions that have been made in the current round.


pendingTransactions

org.apache.commons.collections15.Buffer<E> pendingTransactions

shouts

java.util.Map<K,V> shouts
records all the shouts still standing at this auction, which may be in shoutEngine or involved in pendingTransactions.


currentQuote

MarketQuote currentQuote
The current quote


name

java.lang.String name

quotingPolicy

QuotingPolicy quotingPolicy

pricingPolicy

PricingPolicy pricingPolicy

chargingPolicy

ChargingPolicy chargingPolicy

clearingCondition

MarketClearingCondition clearingCondition

acceptingPolicy

ShoutAcceptingPolicy acceptingPolicy

subscribingPolicy

SubscribingPolicy subscribingPolicy

registry

MarketRegistry registry

helpers

java.util.Map<K,V> helpers
helper components that are required and shared by policies to provide additional capabilities.

Class edu.cuny.cat.market.MarketQuote extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

ask

double ask
The current ask-quote. Buyers need to beat this in order for their offers to get matched.


bid

double bid
The current bid-quote. Sellers need to ask less than this in order for their offers to get matched.


Package edu.cuny.cat.market.accepting

Class edu.cuny.cat.market.accepting.NotAnImprovementOverQuoteException extends IllegalShoutException implements Serializable

serialVersionUID: 1L

Class edu.cuny.cat.market.accepting.NotAnImprovementOverSelfException extends IllegalShoutException implements Serializable

serialVersionUID: 1L


Package edu.cuny.cat.market.matching

Class edu.cuny.cat.market.matching.AscendingShoutComparator extends java.lang.Object implements Serializable

serialVersionUID: 1L

Class edu.cuny.cat.market.matching.DescendingShoutComparator extends java.lang.Object implements Serializable

serialVersionUID: 1L

Class edu.cuny.cat.market.matching.FourHeapShoutEngine extends ShoutEngine implements Serializable

serialVersionUID: 1L

Serialized Fields

bIn

org.apache.commons.collections15.buffer.PriorityBuffer<E> bIn
Matched bids in ascending order


bOut

org.apache.commons.collections15.buffer.PriorityBuffer<E> bOut
Unmatched bids in descending order


sIn

org.apache.commons.collections15.buffer.PriorityBuffer<E> sIn
Matched asks in descending order


sOut

org.apache.commons.collections15.buffer.PriorityBuffer<E> sOut
Unmatched asks in ascending order

Class edu.cuny.cat.market.matching.GradMaxVolumeShoutEngine extends FourHeapShoutEngine implements Serializable

serialVersionUID: 1L

Serialized Fields

shouts

edu.cuny.struct.SortedTreeList<E extends java.lang.Comparable<E>> shouts
list of sums of demand and supply at shouted prices sorted by quantities


asks

edu.cuny.struct.SortedTreeList<E extends java.lang.Comparable<E>> asks

bids

edu.cuny.struct.SortedTreeList<E extends java.lang.Comparable<E>> bids

Package edu.cuny.cat.market.pricing

Class edu.cuny.cat.market.pricing.UniformPricingPolicy extends KPricingPolicy implements Serializable

serialVersionUID: 1L


Package edu.cuny.cat.stat

Class edu.cuny.cat.stat.HistoricalReport extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

asks

java.util.LinkedList<E> asks
asks in the order they arrive.


bids

java.util.LinkedList<E> bids
bids in the order they arrive.


sortedShouts

org.apache.commons.collections15.bag.TreeBag<E> sortedShouts
shouts sorted based on price and id if prices are equal.


matchedShouts

java.util.Set<E> matchedShouts
shouts in the memory that have been matched.


shoutMap

java.util.Map<K,V> shoutMap
a mapping from shout IDs to those shouts in the memory.


memorySize

int memorySize
the size of the memory to contain shouts in terms of the number of transactions covered.


currentMemoryCell

int currentMemoryCell

memoryBids

int[] memoryBids
records the numbers of bids placed between transactions in the memory, each entry for the interval between two subsequent transactions.


memoryAsks

int[] memoryAsks
records the numbers of asks placed between transactions in the memory, each entry for the interval between two subsequent transactions.


lowestAskPrice

double lowestAskPrice

highestBidPrice

double highestBidPrice

highestUnmatchedBid

Shout highestUnmatchedBid

lowestUnmatchedAsk

Shout lowestUnmatchedAsk

accelerator

HistoricalReport.IncreasingQueryAccelerator accelerator
the object that helps to save time in querying about shouts in the history.


observableProxy

java.util.Observable observableProxy
used to make this report observable so that HistoricalReport.accelerator can reset.


roundReset

boolean roundReset
flag used to control whether to clear the record of matched shouts each round


isDebugging

boolean isDebugging
flag used to control whether to do additional debugging.


traderId

java.lang.String traderId
the ID of the GD trader that uses this report; for debugging purpose only


Package edu.cuny.cat.trader

Class edu.cuny.cat.trader.AbstractTradingAgent extends java.util.Observable implements Serializable

serialVersionUID: 1L

Serialized Fields

privateValue

double privateValue

isSeller

boolean isSeller
Flag indicating whether this trader is a seller or buyer.


strategy

AbstractStrategy strategy
The bidding strategy for this trader. The default strategy is to bid truthfully for a single unit.


marketSelectionStrategy

AbstractMarketSelectionStrategy marketSelectionStrategy

resettingCondition

ResettingCondition resettingCondition

lastShoutProfit

double lastShoutProfit
The profit made in the last accepted shout.


lastDayProfit

double lastDayProfit
The profit made in the last day.


profits

double profits
The total cumulativeProfits to date


currentShout

Shout currentShout
The current shout for this trader.


traderId

java.lang.String traderId

availableMarkets

java.util.Map<K,V> availableMarkets

shoutIdList

java.util.Set<E> shoutIdList

registrationFee

double registrationFee

informationFee

double informationFee

shoutFee

double shoutFee

transactionFee

double transactionFee

profitFee

double profitFee

Class edu.cuny.cat.trader.TradingAgent extends AbstractTradingAgent implements Serializable

serialVersionUID: 1L

Serialized Fields

tradeEntitlement

int tradeEntitlement
The number of units this agent is entitlted to have yet to trade on a trading day.


initialTradeEntitlement

int initialTradeEntitlement
The initial value of tradeEntitlement


isActive

boolean isActive
whether this trading agent is actively trading


Package edu.cuny.cat.trader.strategy

Class edu.cuny.cat.trader.strategy.AbstractStrategy extends java.util.Observable implements Serializable

serialVersionUID: 1L

Serialized Fields

agent

AbstractTradingAgent agent

currentShout

Shout.MutableShout currentShout

Class edu.cuny.cat.trader.strategy.AdaptiveStrategyImpl extends FixedQuantityStrategyImpl implements Serializable

serialVersionUID: 1L

Class edu.cuny.cat.trader.strategy.DiscreteLearnerStrategy extends AdaptiveStrategyImpl implements Serializable

serialVersionUID: 1L

Serialized Fields

markupScale

double markupScale
A scaling factor used to multiply-up the output from the learning algorithm.

Class edu.cuny.cat.trader.strategy.FixedQuantityStrategyImpl extends AbstractStrategy implements Serializable

serialVersionUID: 1L

Serialized Fields

quantity

int quantity

Class edu.cuny.cat.trader.strategy.GDLStrategy extends GDStrategy implements Serializable

serialVersionUID: 1L

Class edu.cuny.cat.trader.strategy.GDStrategy extends FixedQuantityStrategyImpl implements Serializable

serialVersionUID: 1L

Serialized Fields

maxPrice

double maxPrice

maxPoint

double maxPoint

max

double max

maxProb

double maxProb

historicalReport

HistoricalReport historicalReport

Class edu.cuny.cat.trader.strategy.MomentumStrategy extends AdaptiveStrategyImpl implements Serializable

serialVersionUID: 1L

Serialized Fields

learner

edu.cuny.ai.learning.MimicryLearner learner

currentPrice

double currentPrice

lastShout

Shout lastShout

scaling

double scaling
A parameter used to scale the randomly drawn price adjustment perturbation values.


lastShoutAccepted

boolean lastShoutAccepted

lastShoutPrice

double lastShoutPrice

initialMarginDistribution

cern.jet.random.AbstractContinousDistribution initialMarginDistribution

relativePerterbationDistribution

cern.jet.random.AbstractContinousDistribution relativePerterbationDistribution

absolutePerterbationDistribution

cern.jet.random.AbstractContinousDistribution absolutePerterbationDistribution

Class edu.cuny.cat.trader.strategy.PriestVanTolStrategy extends MomentumStrategy implements Serializable

serialVersionUID: 1L

Serialized Fields

historicalReport

HistoricalReport historicalReport

Class edu.cuny.cat.trader.strategy.PureSimpleStrategy extends FixedQuantityStrategyImpl implements Serializable

serialVersionUID: 1L

Serialized Fields

margin

double margin

Class edu.cuny.cat.trader.strategy.RandomConstrainedStrategy extends FixedQuantityStrategyImpl implements Serializable

serialVersionUID: 1L

Serialized Fields

maxMarkup

double maxMarkup

markupDistribution

cern.jet.random.AbstractContinousDistribution markupDistribution

Class edu.cuny.cat.trader.strategy.StimuliResponseStrategy extends DiscreteLearnerStrategy implements Serializable

serialVersionUID: 1L

Serialized Fields

learner

edu.cuny.ai.learning.StimuliResponseLearner learner
The learning algorithm to use.

Class edu.cuny.cat.trader.strategy.TruthTellingStrategy extends FixedQuantityStrategyImpl implements Serializable

serialVersionUID: 1L

Class edu.cuny.cat.trader.strategy.ZIPStrategy extends MomentumStrategy implements Serializable

serialVersionUID: 1L

Class edu.cuny.cat.trader.strategy.ZIQStrategy extends MomentumStrategy implements Serializable

serialVersionUID: 1L


Package edu.cuny.cat.ui

Class edu.cuny.cat.ui.ChargePlotPanel extends ViewPanel implements Serializable

serialVersionUID: 1L

Serialized Fields

dataset

org.jfree.data.category.DefaultCategoryDataset dataset

categoryplot

org.jfree.chart.plot.CategoryPlot categoryplot

registry

Registry registry

Class edu.cuny.cat.ui.ClientStatePanel extends ViewPanel implements Serializable

serialVersionUID: 1L

Serialized Fields

registry

Registry registry

clock

GameClock clock

eventDataset

DefaultValueListCategoryDataset eventDataset

progressDataset

DefaultIntervalListCategoryDataset progressDataset

categoryPlot

org.jfree.chart.plot.CategoryPlot categoryPlot

yAxis

org.jfree.chart.axis.NumberAxis yAxis

days

int days

step

int step

Class edu.cuny.cat.ui.ClockPanel extends ViewPanel implements Serializable

serialVersionUID: 1L

Serialized Fields

dataset

org.jfree.data.general.DefaultValueDataset dataset

iteration

int iteration

meterplot

org.jfree.chart.plot.MeterPlot meterplot

iterationLabel

javax.swing.JLabel iterationLabel

clock

GameClock clock

scoreReport

ScoreReport scoreReport

Class edu.cuny.cat.ui.CombiViewPanel extends ViewPanel implements Serializable

serialVersionUID: 1L

Serialized Fields

panels

ViewPanel[] panels

Class edu.cuny.cat.ui.CumulativeTraderDistributionPanel extends TraderDistributionPanel implements Serializable

serialVersionUID: 1L

Serialized Fields

catPlot

org.jfree.chart.plot.CategoryPlot catPlot

totalRegistered

int[] totalRegistered

Class edu.cuny.cat.ui.GameView extends javax.swing.JInternalFrame implements Serializable

serialVersionUID: 1L

Serialized Fields

console

GuiConsole console

Class edu.cuny.cat.ui.GuiConsole extends javax.swing.JFrame implements Serializable

serialVersionUID: 1L

Serialized Fields

menuBar

edu.cuny.ui.UserMenuBar menuBar

desktop

javax.swing.JDesktopPane desktop

dialog

edu.cuny.ui.AboutDialog dialog

homeURL

java.lang.String homeURL

buttonP

javax.swing.JPanel buttonP

startB

javax.swing.JButton startB

pauseB

javax.swing.JButton pauseB

resumeB

javax.swing.JButton resumeB

exitB

javax.swing.JButton exitB

views

java.util.SortedMap<K,V> views

posTracker

edu.cuny.cat.ui.GuiConsole.ViewPositionTracker posTracker

eventEngine

edu.cuny.event.EventEngine eventEngine

Class edu.cuny.cat.ui.OverView extends GameView implements Serializable

serialVersionUID: 1L

Serialized Fields

viewPanel

CombiViewPanel viewPanel

Class edu.cuny.cat.ui.PlayerLabelPanel extends ViewPanel implements Serializable

serialVersionUID: 1L

Serialized Fields

playerLabel

javax.swing.JLabel playerLabel

registry

Registry registry

Class edu.cuny.cat.ui.ProfitPlotPanel extends ViewPanel implements Serializable

serialVersionUID: 1L

Serialized Fields

shoutSet

java.util.Set<E> shoutSet

showType

boolean showType

isCumulative

boolean isCumulative

dataset

org.jfree.data.category.DefaultCategoryDataset dataset

registry

Registry registry

Class edu.cuny.cat.ui.ScorePlotPanel extends ViewPanel implements Serializable

serialVersionUID: 1L

Serialized Fields

isCumulative

boolean isCumulative

showType

boolean showType

dataset

org.jfree.data.category.DefaultCategoryDataset dataset

chart

org.jfree.chart.JFreeChart chart

registry

Registry registry

scoreReport

ScoreReport scoreReport

Class edu.cuny.cat.ui.SpecialistGridPanel extends ViewPanel implements Serializable

serialVersionUID: 1L

Class edu.cuny.cat.ui.SpecialistView extends GameView implements Serializable

serialVersionUID: 1L

Serialized Fields

dataset

edu.cuny.cat.ui.SpecialistView.ShoutDataset1 dataset

xyplot

org.jfree.chart.plot.XYPlot xyplot

specialist

Specialist specialist

clock

GameClock clock

Class edu.cuny.cat.ui.TraderDistributionPanel extends ViewPanel implements Serializable

serialVersionUID: 1L

Serialized Fields

chart

org.jfree.chart.JFreeChart chart

dataset

org.jfree.data.category.DefaultCategoryDataset dataset

clock

GameClock clock

registry

Registry registry

Class edu.cuny.cat.ui.ViewPanel extends javax.swing.JPanel implements Serializable

serialVersionUID: 1L


Package edu.cuny.jfree.chart.annotations

Class edu.cuny.jfree.chart.annotations.CategoryIntervalAnnotation extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream stream)
                  throws java.io.IOException
Throws:
java.io.IOException
Serialized Fields

category

java.lang.Comparable<T> category

value1

double value1

value2

double value2

Package edu.cuny.jfree.chart.plot

Class edu.cuny.jfree.chart.plot.MyMeterPlot extends org.jfree.chart.plot.MeterPlot implements Serializable

serialVersionUID: 1L


Package edu.cuny.jfree.chart.renderer.category

Class edu.cuny.jfree.chart.renderer.category.IntervalListBarRenderer extends org.jfree.chart.renderer.category.BarRenderer implements Serializable

serialVersionUID: -5068857361615528725L

Class edu.cuny.jfree.chart.renderer.category.ValueListShapeRenderer extends org.jfree.chart.renderer.category.LineAndShapeRenderer implements Serializable

serialVersionUID: -3557517173697777579L

Serialization Methods

readObject

private void readObject(java.io.ObjectInputStream stream)
                 throws java.io.IOException,
                        java.lang.ClassNotFoundException
Throws:
java.io.IOException
java.lang.ClassNotFoundException

writeObject

private void writeObject(java.io.ObjectOutputStream stream)
                  throws java.io.IOException
Throws:
java.io.IOException

Package edu.cuny.jfree.data.category

Class edu.cuny.jfree.data.category.AbstractListCategoryDataset extends org.jfree.data.general.AbstractDataset implements Serializable

serialVersionUID: 1L

Serialized Fields

data

org.jfree.data.KeyedObjects2D data

minimumRangeValue

double minimumRangeValue

maximumRangeValue

double maximumRangeValue

automaticChangedEvent

boolean automaticChangedEvent

Class edu.cuny.jfree.data.category.DefaultIntervalListCategoryDataset extends AbstractListCategoryDataset implements Serializable

serialVersionUID: 1L

Class edu.cuny.jfree.data.category.DefaultValueListCategoryDataset extends AbstractListCategoryDataset implements Serializable

serialVersionUID: 1L