Averest


GameNode Type

A GameNode represents a node in a tree that is derived from a strategy. The overall strategy will be represented as an array of such nodes where each node has a unique index in that array. It stores the codes that are still possible at that stages of the game, the code guessed by the strategy, and the successor nodes for the corresponding answers.

Record fields

Record Field Description

guessCode

Full Usage: guessCode

Field type: int[]
Field type: int[]

index

Full Usage: index

Field type: int
Field type: int

possCodes

Full Usage: possCodes

Field type: int[] list
Field type: int[] list

succNodes

Full Usage: succNodes

Field type: ((int * int) * int)[]
Modifiers: mutable
Field type: ((int * int) * int)[]