observation_repr_from_stream

Function observation_repr_from_stream 

Source
pub fn observation_repr_from_stream(
    mode: ObservationKeyMode,
    observations: &[PerceptVal],
    observation_bits: usize,
) -> Vec<PerceptVal> 
Expand description

Compute the observation representation used for tree branching.

  • FullStream returns the full stream (paper-accurate expectimax).
  • Other modes collapse to a single-key vector.