UNPKG

@emmahyde/thinking-patterns

Version:

MCP server combining systematic thinking, mental models, debugging approaches, and stochastic algorithms for comprehensive cognitive pattern support

24 lines (23 loc) 904 B
import { BaseToolServer } from '../base/BaseToolServer.js'; import { StochasticAlgorithmData } from '../schemas/index.js'; /** * Stochastic Algorithm Server using thinking-patterns tools approach * Extends BaseToolServer for standardized validation and error handling */ export declare class StochasticAlgorithmServer extends BaseToolServer<StochasticAlgorithmData, any> { constructor(); protected handle(validInput: StochasticAlgorithmData): any; /** * Standardized process method for stochastic algorithm * @param validInput - Validated stochastic algorithm data * @returns Processed stochastic algorithm result */ process(validInput: StochasticAlgorithmData): any; private processAlgorithm; private processMDP; private processMCTS; private processBandit; private processBayesian; private processHMM; private formatStochasticOutput; }