sel.reinforcement.index

Syntax

sri = sel.reinforcement.index(srp)

Get the index on the reinforcement list of a given reinforcement element.

Returns:sri - reinforcement index
Arguments:srp - reinforcement pointer