Actant an Actant for GeoGraphy


Inherits from: Object


Actant represent a dynamic element generating a time-stamped sequence of vertices in a GeoGraphy's Graph.

It's the core element for RT sequencing: because of this aspect, it can be thought as a wrapper for a Routine. 

The task simply navigates the graph. From the starting vertex, it chooses randomly among the edges departing from it, sets the ending vertex as the new vertex, and waits for the edges's duration. Then the process starts again.

If the vertex is a terminal one (i.e. no edges depart from it) it terminates removing the actant (note that termination is taken into account by the Runner).


See also: Graph, Runner, GeoGraphyIntro


Working with Actants


You never need to work directly with Actants, as you can control all their relevant aspects from a Runner. 

So, only documentation of *new is provided. For the rest, see Runner.


Creation / Class Methods


*new (graph, aID, bpm, weight)

Create an actant.

graph - a Graph. Default value is nil. The Actan requires a Graph as it must generate a path on it.

aID - a unique identifier for the actant. Default value is nil.

bpm - bpm, i.e. beats for minute. Default value is 60.

weight - an abstract weight for the actant. Default value is 0.1. 

Useful (but not necessarily)  to be mapped to amplitude.