Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
Q
R
S
T
U
W
Z
G
gen(int, int, int, int, int, String)
- Static method in class gps.toolbox.
DocGen4BT
generates documents distribution configureaiton file
gen(int, double, int, int, int, String)
- Static method in class gps.toolbox.
EventGen4BT
generate events distribution configuration file
getActiveConnectionList()
- Method in class gps.network.
BandwidthManager
gets active connections on this link
getAddParam()
- Method in class gps.event.
SimEvent
gets the second param for the event
getAgent()
- Method in class gps.protocol.BT.
BTSession
gets the Agent object on which this session is running
getAgent(int)
- Method in class gps.protocol.
Protocol
gets the agent instance from it's id
getAgentList()
- Method in class gps.network.graph.
Node
gets agent list attached on this node
getAgentList()
- Method in class gps.protocol.
Protocol
gets agent object list
getAllConnections()
- Static method in class gps.network.
Connection
get all the connections in the system, class method
getAllLinks()
- Method in class gps.network.graph.
Graph
gets all links
getAllNodes()
- Method in class gps.network.graph.
Graph
gets all nodes
getAvailableBandwidth()
- Method in class gps.network.
BandwidthManager
gets available bandwidth
getAvailableBandwidth(Link)
- Method in class gps.network.
Topology
gets available bandwidth of a link
getBandwidth()
- Method in class gps.network.
BandwidthManager
gets physical bandwidth
getBandwidth()
- Method in class gps.network.
Connection
gets bandwidth allocated for this connection
getBandwidth()
- Method in class gps.network.graph.
LinkProperties
gets bandwidth
getBandwidth(Link)
- Method in class gps.network.
Topology
gets bandwidth of a link
getBandwidthFrom(Node)
- Method in class gps.network.
Connection
gets one way bandwidth
getBandwidthFrom(BTSocket)
- Method in class gps.protocol.BT.
BTConnection
get bandwidth for the flow origniated from a BTSocket
getBandwidthManager()
- Method in class gps.network.graph.
Link
gets BandwidthManager
getBlockLength()
- Method in class gps.protocol.BT.
BTDocument
gets block length
getBTDocument(String)
- Method in class gps.protocol.BT.
BTPeer
retrieves a document by key
getComment()
- Method in class gps.network.graph.
Graph
gets comment
getConnection(BTPeer)
- Method in class gps.protocol.BT.
BTSession
gets connection to a peer
getConnections()
- Method in class gps.protocol.BT.
BTSession
gets connections
getControlPanel()
- Method in class gps.gui.
SimGuiControl
get control panel
getCosts()
- Method in class gps.network.graph.
LinkProperties
gets costs
getCreator()
- Method in class gps.network.graph.
Graph
gets creator
getCurrent()
- Method in class gps.event.
SimEventScheduler
gets current virtual time in simulation.
getDelay()
- Method in class gps.network.graph.
LinkProperties
gets delay
getDelay(int, int)
- Method in class gps.network.
Topology
gets delay between two nodes represented by id
getDelay(Node, Node)
- Method in class gps.network.
Topology
gets delay between two nodes
getDelayAgent(int, int)
- Method in class gps.protocol.
Protocol
gets delay between two agents
getDelayAgent(Agent, Agent)
- Method in class gps.protocol.
Protocol
gets delay between two agents
getDirection()
- Method in class gps.network.graph.
LinkProperties
gets dierctional informaiton
getDistance()
- Method in class gps.network.graph.
LinkProperties
gets distance
getDocument()
- Method in class gps.protocol.BT.
BTSession
gets document that the session is downloading/uploading
getDocument(String)
- Method in class gps.protocol.
Peer
retrieve a document by key
getDownloadBetweenSnubbingDetection()
- Method in class gps.protocol.BT.
BTSession
gets download amount between snubbing detection
getDownloadingSet()
- Method in class gps.protocol.BT.
BTDocument
gets piece index in downloading set
getEventID()
- Method in class gps.event.
SimEvent
gets the unique id for this event
getEventLog()
- Static method in class gps.event.
SimEventScheduler
gets event log
getFinishedPercent()
- Method in class gps.protocol.BT.
BTDocument
Method getFinishedPercent gets the percent finished
getFrame()
- Method in class gps.gui.
SimGui
getGraph()
- Method in class gps.gui.
GraphPanel
gets graph being displayed
getGraph()
- Method in class gps.gui.
ProtocolPanel
gets graph object in graph panel
getGraphFile()
- Method in class gps.network.graph.
Graph
gets file path
getGraphPanel()
- Method in class gps.gui.
SimGui
getGraphPanel()
- Method in class gps.gui.
SimGuiControl
get graph panel
getID()
- Method in class gps.network.graph.
Node
gets node id
getID()
- Method in class gps.protocol.
Agent
gets agent id, agent id is different from node id
getID()
- Method in class gps.protocol.
Document
getInActiveConnectionList()
- Method in class gps.network.
BandwidthManager
gets inactive connections on this link
getInfoPanel()
- Method in class gps.gui.
SimGui
getInstance()
- Static method in class gps.event.
SimEventScheduler
gets scheduler singleton instance
getInstance()
- Static method in class gps.network.
Topology
gets the singleton instance of topology
getInstance()
- Static method in class gps.protocol.BT.
BT
gets the singleton instance of bt
getInstance()
- Static method in class gps.
Simulator
gets the singleton instance of simulator
getInstance()
- Static method in class gps.util.
LogServer
get singleton instance
getKey()
- Method in class gps.network.graph.
Node
gets node id
getKey()
- Method in class gps.protocol.
Document
getLabel()
- Method in class gps.network.graph.
LinkProperties
gets label
getLabel()
- Method in class gps.network.graph.
NodeProperties
gets node lable
getLeftPieceNum()
- Method in class gps.protocol.BT.
BTDocument
Method getLeftPieceNum gets the unfinished pieces number
getLeftSize()
- Method in class gps.protocol.BT.
BTDocument
gets the size of total unfinished pieces
getLink(int)
- Method in class gps.network.graph.
Graph
gets link
getLinkBetween(Node, Node)
- Method in class gps.network.
Topology
gets link between two directly connected nodes
getLinks()
- Method in class gps.network.
Topology
gets all links
getLinksBetween(Node, Node)
- Method in class gps.network.
Topology
gets links between two nodes, which may or may not connect to each other
getLinkTo(Node)
- Method in class gps.network.graph.
Node
gets link to another node
getMinimumSize()
- Method in class gps.gui.
ControlPanel
gets minimum size, inherated.
getMinimumSize()
- Method in class gps.gui.
GraphPanel
gets minimum graph panel size
getNextAvailableID()
- Static method in class gps.protocol.
Document
get next available id, and self increase
getNode(int)
- Method in class gps.network.graph.
Graph
Retrieve a node
getNode(int)
- Method in class gps.network.
Topology
gets the node instance from it's id
getNode()
- Method in class gps.protocol.
Agent
gets the node that this agent is attached to
getNodes()
- Method in class gps.network.
Topology
gets all nodes
getNodesAssociatedWithDoc(String)
- Method in class gps.protocol.BT.
BTTracker
getNumberOfLinks()
- Method in class gps.network.graph.
Graph
gets number of links
getNumberOfNodes()
- Method in class gps.network.graph.
Graph
gets number of nodes
getParam()
- Method in class gps.event.
SimEvent
gets first param for the event
getPartialIndex()
- Method in class gps.protocol.BT.
BTDocument
gets piece index in partial list
getPeerCandidateList()
- Method in class gps.protocol.BT.
BTSession
gets candidate list
getPieceLength()
- Method in class gps.protocol.BT.
BTDocument
gets piece length
getPieceLength(int)
- Method in class gps.protocol.BT.
BTDocument
gets piece length for a specific piece, it's the same as getPieceLength() except for the last piece
getPieceNum()
- Method in class gps.protocol.BT.
BTDocument
gets piece number
getPieceProgress(int)
- Method in class gps.protocol.BT.
BTDocument
gets finished progress for a piece
getPieces()
- Method in class gps.protocol.BT.
BTDocument
gets piece status array for setting whole or not
getPK()
- Method in class gps.util.
FloydWarshall
gets predecessor matrix
getPopularity()
- Method in class gps.protocol.
Document
getPP()
- Method in class gps.
Simulator
gets protocolpanel
getPreferredSize()
- Method in class gps.gui.
ControlPanel
gets preferred size, inherated.
getPreferredSize()
- Method in class gps.gui.
GraphPanel
gets graph panel size
getProperties()
- Method in class gps.network.graph.
Link
gets link properties
getProperties()
- Method in class gps.network.graph.
Node
gets node properties
getProperties()
- Method in class gps.
Simulator
gets simulator properties
getProtocol()
- Method in class gps.gui.
ProtocolPanel
abstract function getProtocol, gets protocol to be simulated
getProtocol()
- Method in class gps.protocol.BT.
BTPanel
gets protocol object
getProtocolIndex()
- Method in class gps.gui.
SimulatorPanel
gets protocol index
getProtocolProperties()
- Method in class gps.protocol.
Protocol
gets protocol properties
getRand()
- Method in class gps.util.
PowerLaw
get uniformly distributed double in [0, 1]
getRandInt(int)
- Method in class gps.util.
PowerLaw
get uniformly distributed integer in [0, N - 1]
getRandomTorrent(HashMap)
- Method in class gps.protocol.BT.
BTTracker
getSession(String)
- Method in class gps.protocol.BT.
BTPeer
gets session for a specific document
getSessions()
- Method in class gps.protocol.BT.
BTPeer
gets all sessions on this peer
getShowNodeId()
- Method in class gps.gui.
GraphPanel
gets current flag for showing id or not
getSimGui()
- Method in class gps.gui.
SimGuiControl
get gui
getSimGuiControl()
- Method in class gps.gui.
ControlPanel
gets SimGuiControl
getSimGuiControl()
- Method in class gps.gui.
ProtocolPanel
gets control object in GUI
getSimulatorProperties()
- Method in class gps.protocol.
Protocol
gets simulator properties
getSize()
- Method in class gps.protocol.
Document
getStatus()
- Method in class gps.protocol.
Document
getTimeStamp()
- Method in class gps.event.
SimEvent
gets the timestamp of the event
getTorrent(String)
- Method in class gps.protocol.BT.
BTTracker
getTraffic()
- Method in class gps.network.graph.
NodeProperties
gets traffic
getType()
- Method in class gps.event.
SimEvent
gets event type
getType()
- Method in class gps.network.graph.
LinkProperties
gets link type
getType()
- Method in class gps.network.graph.
NodeProperties
gets node type
getUnchokedList()
- Method in class gps.protocol.BT.
BTSession
gets unchoked list
getUnchokeNum()
- Method in class gps.protocol.BT.algorithm.
BTAlgorithmReChoking
gets unchoke num set for this simulation
getVersion()
- Method in class gps.gui.
SimGuiControl
gets simulator version
getX()
- Method in class gps.network.graph.
NodeProperties
gets x position
getY()
- Method in class gps.network.graph.
NodeProperties
gets y position
go(JFrame)
- Method in class gps.gui.
SimGui
gps
- package gps
Provides simulation engine, and simulator framework.
gps.event
- package gps.event
Provides event processing module.
gps.gui
- package gps.gui
Provides GUI for simulator.
gps.network
- package gps.network
Provides network related informaiton.
gps.network.graph
- package gps.network.graph
Provides graph topology representative.
gps.protocol
- package gps.protocol
Provides p2p protocol templete.
gps.protocol.BT
- package gps.protocol.BT
Provides BT implementation.
gps.protocol.BT.algorithm
- package gps.protocol.BT.algorithm
Provides BT algorithms.
gps.protocol.BT.param
- package gps.protocol.BT.param
Provides BT messages.
gps.toolbox
- package gps.toolbox
Provides tools for generating document distribution, user action distribution, and post processing.
gps.util
- package gps.util
Provides miscellaneous utilities.
Graph
- Class in
gps.network.graph
graph is an object representing network topology.
Graph()
- Constructor for class gps.network.graph.
Graph
Creates new Graph
GraphException
- Exception in
gps.network.graph
graph exception
GraphException(String)
- Constructor for exception gps.network.graph.
GraphException
Creates new GraphException
graphFilter
- Static variable in class gps.util.
MyFileChooser
GraphPanel
- Class in
gps.gui
This panel visualize network topology and agents informaiton.
GraphPanel()
- Constructor for class gps.gui.
GraphPanel
dummy constructor
grep(String, String, String)
- Static method in class gps.toolbox.
PostProcess
grep lines with a specific keyword from a file
GUIinit()
- Method in class gps.
Simulator
initializes log, and configure topology.
GUIstart()
- Method in class gps.
Simulator
starts a new simulation, to be called from GUI
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV LETTER
NEXT LETTER
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
Q
R
S
T
U
W
Z