[ Module Hierarchy
| Class Hierarchy ]
Class Hierarchy
- io.Action:
One set of commands to send to the robot
- circ.Circuit
- circ.Component:
Generic superclass.
- corruptInput.CorruptedSensorInput:
This class has the same interface as
io.SensorInput
,
so instances can be used anywhere we use instances of
io.SensorInput
- dist.DDist:
Discrete distribution represented as a dictionary.
- sm.DebugParams:
Housekeeping stuff
- sf.DifferenceEquation:
Represent a difference equation in a form that makes it easy to
simulate.
- le.Equation:
Represent a single linear equation as a list of variable names, a
list of coefficients, and a constant.
- le.EquationSet:
Represent a set of linear equations
- gridMap.GridMap
- gridMap.GridMap
- gridMap.GridMap
- util.Line:
Line in 2D space
- util.LineSeg:
Line segment in 2D space
- dist.MixtureDist:
A mixture of two probabability distributions, d1 and d2, with
mixture parameter p.
- le.NameToIndex:
Construct a unique mapping of names to indices.
- circ.NodeToCurrents:
Keep track of which currents are flowing in and out of which nodes
in a circuit.
- ucSearch.PQ:
Slow implementation of a priority queue that just finds the minimum
element for each extraction.
- util.Point:
Represent a point with its x, y values
- poly.Polynomial:
Represent polynomials, and supports addition, subtraction, and root
finding.
- util.Pose:
Represent the x, y, theta pose of an object in 2D space
- search.Queue:
Simple implementation of queue using a Python list.
- sm.SM:
Generic superclass representing state machines.
- sm.Cascade:
Cascade composition of two state machines.
- sm.Constant:
Machine whose output is a constant, independent of the input
- sm.Feedback:
Take the output of
m
and feed it back to its input.
- sm.Feedback2:
Like previous
Feedback
, but takes a machine with two
inps and one output at initialization time.
- sm.FeedbackAdd:
Takes two machines, m1 and m2.
- sm.FeedbackSubtract:
Takes two machines, m1 and m2.
- sm.Gain:
Machine whose output is the input, but multiplied by k.
- sm.If:
Given a condition (function from inps to boolean) and two state
machines, make a new machine.
- sm.Parallel:
Takes a single inp and feeds it to two machines in parallel.
- sm.Parallel2:
Like
Parallel
, but takes two inps.
- sm.ParallelAdd:
Like
Parallel
, but output is the sum of the outputs of
the two machines.
- sm.PureFunction:
Machine whose output is produced by applying a specified Python
function to its input.
- sm.R:
Machine whose output is the input, but delayed by one time step.
- sm.Repeat:
Given a terminating state machine, generate a new one that will
execute it n times.
- sm.RepeatUntil:
Given a terminating state machine and a condition on the input,
generate a new one that will run the machine until the condition
becomes true.
- sm.Select:
Machine whose input is a structure list and whose output is the
k
th element of that list.
- sm.Sequence:
Given a list of state machines, make a new machine that will
execute the first until it is done, then execute the second, etc.
- sm.Switch:
Given a condition (function from inps to boolean) and two state
machines, make a new machine.
- sm.Mux:
Like
Switch
, but updates both machines no matter
whether the condition is true or false.
- sm.Until:
Execute SM until it terminates or the condition becomes true.
- sm.Wire:
Machine whose output is the input
- sm.SM:
Generic superclass representing state machines.
- ucSearch.SearchNode:
A node in a search tree
- search.SearchNode:
A node in a search tree
- io.SensorInput:
Represents one set of sensor readings from the robot, incluing
sonars, odometry, and readings from the analogInputs
- sig.Signal:
Represent infinite signals.
- sig.ConstantSignal:
Primitive constant sample signal.
- sig.CosineSignal:
Primitive family of sinusoidal signals.
- sig.FilteredSignal:
Signal filtered by a function, applied to a fixed-sized window of
previous values
- sig.ListSignal:
Signal defined with a specific list of sample values, from 0 to
some fixed length; It has value 0 elsewhere.
- sig.ListSignalSampled:
Signal defined with a specific list of sample values, from 0 to
some fixed length; It has the last value past the end and the
first value before the start.
- sig.R:
Signal delayed by one time step, so that
R(S).sample(n+1) =
S.sample(n)
- sig.Rn:
Signal delayed by several time steps
- sig.ScaledSignal:
Signal multiplied everywhere by a constant
- sig.StepSignal:
Signal that has value 1 for all n >= 0, and value 0 otherwise.
- sig.SummedSignal:
Sum of two signals
- sig.UnitSampleSignal:
Primitive unit sample signal has value 1 at time 0 and value 0
elsewhere.
- sig.Signal:
Represent infinite signals.
- ts.TransducedSignal:
Given a signal s, and a state machine m, generate a new signal that
has value 0 for any k < 0, and otherwise has the output of m,
with s as its input, as its value
- ts.TransducedSignalSlow:
Given a state a signal s and a state machine m, generate a new
signal that has value 0 for any k < 0, and otherwise has the
output of m, with s as its input, as its value
- soarWorld.SoarWorld:
Represents a world in the same way as the soar simulator
- le.Solution:
Solution to a set of linear equations
- search.Stack:
Simple implementation of stack using a Python list.
- util.SymbolGenerator:
Generate new symbols guaranteed to be different from one another
Optionally, supply a prefix for mnemonic purposes Call
gensym("foo") to get a symbol like 'foo37'
- sf.SystemFunction:
Represent a system function as a ratio of polynomials in R
- util.Transform:
Rotation and translation represented as 3 x 3 matrix