nexus-agents - v2.80.0
    Preparing search index...

    Interface ForestConfig

    Configuration for Forest-of-Thought reasoning.

    interface ForestConfig {
        maxTrees: number;
        maxDepth: number;
        maxNodesPerTree: number;
        activationBudget: number;
        sparsityRatio: number;
        activationStrategy: ActivationStrategy;
        explorationConstant: number;
        crossTreeStrategy: CrossTreeStrategy;
        pruningStrategy: ForestPruningStrategy;
        minScoreThreshold: number;
        confidenceThreshold: number;
        earlyTerminationThreshold: number;
        maxExplorationTimeMs: number;
        nodeTimeoutMs: number;
        maxTokensPerTree: number;
        enableParallelExploration: boolean;
        parallelThreads: number;
        enableEarlyTermination: boolean;
        enableCrossTreeSharing: boolean;
        temperature: number;
        seed: number | null;
    }
    Index

    Properties

    maxTrees: number

    Maximum number of trees in the forest

    maxDepth: number

    Maximum depth per tree

    maxNodesPerTree: number

    Maximum nodes per tree

    activationBudget: number

    Total activation budget (max active nodes across forest)

    sparsityRatio: number

    Percentage of nodes to keep active (0-1)

    activationStrategy: ActivationStrategy

    Strategy for node activation

    explorationConstant: number

    UCB exploration constant (for ucb strategy)

    crossTreeStrategy: CrossTreeStrategy

    Strategy for cross-tree information sharing

    pruningStrategy: ForestPruningStrategy

    Strategy for pruning low-quality branches

    minScoreThreshold: number

    Minimum score threshold for keeping nodes

    confidenceThreshold: number

    Confidence threshold for accepting conclusions

    earlyTerminationThreshold: number

    Score threshold for early termination

    maxExplorationTimeMs: number

    Maximum exploration time in ms

    nodeTimeoutMs: number

    Timeout per node evaluation in ms

    maxTokensPerTree: number

    Maximum tokens per tree

    enableParallelExploration: boolean

    Enable parallel tree exploration

    parallelThreads: number

    Number of parallel exploration threads

    enableEarlyTermination: boolean

    Enable early termination when good solution found

    enableCrossTreeSharing: boolean

    Enable cross-tree information sharing

    temperature: number

    Temperature for node generation (creativity vs determinism)

    seed: number | null

    Random seed for reproducibility (null for random)