Home | Trees | Index | Help |
|
---|
Package sulley :: Module primitives :: Class group |
|
object
--+ |base_primitive
--+ | group
Method Summary | |
---|---|
This primitive represents a list of static values, stepping through each one on mutation. | |
False |
Move to the next item in the values list. |
Integer |
Number of values in this primitive. |
Inherited from base_primitive | |
Integer |
Exhaust the possible mutations for this primitive. |
Nothing fancy on render, simply return the value. | |
Reset this primitive to the starting mutation state. | |
Inherited from object | |
x.__delattr__('name') <==> del x.name | |
x.__getattribute__('name') <==> x.name | |
x.__hash__() <==> hash(x) | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
helper for pickle | |
helper for pickle | |
x.__repr__() <==> repr(x) | |
x.__setattr__('name', value) <==> x.name = value | |
x.__str__() <==> str(x) |
Method Details |
---|
__init__(self,
name,
values)
This primitive represents a list of static values, stepping through
each one on mutation. You can tie a block to a group primitive to
specify that the block should cycle through all possible mutations for
*each* value within the group. The group primitive is useful for
example for representing a list of valid opcodes.
|
mutate(self)Move to the next item in the values list.
|
num_mutations(self)Number of values in this primitive.
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Fri Jul 27 17:40:03 2007 | http://epydoc.sf.net |