TransToMax: TransToMax

View source: R/TransToMax.R

TransToMaxR Documentation

TransToMax

Description

A transition matrix function, whereby given the current worldstate, we always transition directly to the world state with the highest possible score.

Usage

TransToMax(TheList, TransRelAdj = NA)

Arguments

TheList

a list containing the CIB matrix, and a "shape" vector. The output of InputCibBanner is an appropriate input here.

TransRelAdj

a list containing a blank transition matrix, a relative score matrix, and an adjacency matrix. The output of MakeScoreMatrix is appropriate here.

Value

A matrix describing the transition probability from each world state (rows) to each other world state (columns).

Note

In the case of a tie, transition probability is split evenly between the top candidates.

This transition procedure is one of the most likely to result in loops, with antagonistic and synergistic descriptors switching simultaneously, and thus never reaching a stable arrangement (for example Ab -> aB -> Ab->...)

Other transition functions can be found via TransitionCalculators

Author(s)

Alastair Jamieson Lane. <aja107@math.ubc.ca>

Examples

data(ExampleCIBdata)
Transitions<-TransToMax(ExampleCIBdata)



alastair-JL/StochasticCIB documentation built on July 27, 2023, 1:12 a.m.