Package spade :: Module tbcbp :: Class Case
[hide private]
[frames] | no frames]

Class Case

source code


Instance Methods [hide private]
new empty dictionary

__init__(self, P=[], Q=[], inputs=[], outputs=[], services=[], QoS=1, ID=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
getID(self) source code
 
getP(self) source code
 
getQ(self) source code
 
getInputs(self) source code
 
getOutputs(self) source code
 
getQoS(self) source code
 
getTime(self) source code
 
reward(self) source code
 
punish(self) source code
 
__add__(self, y) source code
 
__iadd__(self, y) source code
 
__eq__(self, y)
x==y
source code
 
__ne__(self, y)
x!=y
source code
 
__str__(self)
str(x)
source code
 
__repr__(self)
repr(x)
source code
 
__len__(self)
len(x)
source code

Inherited from dict: __cmp__, __contains__, __delitem__, __ge__, __getattribute__, __getitem__, __gt__, __iter__, __le__, __lt__, __new__, __setitem__, __sizeof__, clear, copy, fromkeys, get, has_key, items, iteritems, iterkeys, itervalues, keys, pop, popitem, setdefault, update, values, viewitems, viewkeys, viewvalues

Inherited from object: __delattr__, __format__, __reduce__, __reduce_ex__, __setattr__, __subclasshook__

Class Variables [hide private]

Inherited from dict: __hash__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, P=[], Q=[], inputs=[], outputs=[], services=[], QoS=1, ID=None)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Returns:
new empty dictionary

Overrides: object.__init__
(inherited documentation)

__eq__(self, y)
(Equality operator)

source code 

x==y

Overrides: dict.__eq__
(inherited documentation)

__ne__(self, y)

source code 

x!=y

Overrides: dict.__ne__
(inherited documentation)

__str__(self)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

__len__(self)
(Length operator)

source code 

len(x)

Overrides: dict.__len__
(inherited documentation)