epymorph.data.mm.no
NoClause
Bases: MovementClause
The clause of the "no" model.
requirements
class-attribute
instance-attribute
The attribute definitions describing the data requirements for this function.
For advanced use-cases, you may specify requirements as a property if you need it to be dynamically computed.
predicate
class-attribute
instance-attribute
predicate = EveryDay()
When does this movement clause apply?
leaves
class-attribute
instance-attribute
leaves = TickIndex(step=0)
On which tau step does this movement clause apply?
returns
class-attribute
instance-attribute
returns = TickDelta(step=0, days=0)
When do the movers from this clause return home?
evaluate
Implement this method to provide logic for the clause. Use self methods and properties to access the simulation context or defer processing to another function.
Parameters:
-
tick
(Tick
) –The simulation tick being evaluated.
Returns:
No
Bases: MovementModel
No movement at all. This is handy for cases when you want to disable movement in an experiment, or for testing.
clauses
class-attribute
instance-attribute
clauses = (NoClause(),)
The movement clauses that make up the model.