Function compute_default_hints

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi.

pub fn compute_default_hints(
    trie_root: &PredictionTrieNode,
    sensitivity_scale: u32,
) -> Option<AgentHints>

Compute default agent hints from the root trie prediction.

Parameters

  • trie_root: Root node of the learned prediction trie.
  • sensitivity_scale: Scheduling scale used to derive the priority hint.

Returns

Some(AgentHints) when the trie contains an any-index prediction at the root and None otherwise.