Versions in this module Expand all Collapse all v1 v1.0.1 Feb 20, 2026 Changes in this version + type MatrixEngine struct + func NewMatrixEngine(matrix *core.Matrix) *MatrixEngine + func (e *MatrixEngine) AddNeuron(content string, parentID *core.NeuronID, metadata map[string]string) (*core.Neuron, error) + func (e *MatrixEngine) DeleteNeuron(id core.NeuronID) error + func (e *MatrixEngine) GetNeuron(id core.NeuronID) (*core.Neuron, error) + func (e *MatrixEngine) GetStats() map[string]any + func (e *MatrixEngine) ListNeurons(offset, limit int, depthFilter *int) []*core.Neuron + func (e *MatrixEngine) Search(query string, depth int, limit int, metadata map[string]string, strict bool) []*core.Neuron + func (e *MatrixEngine) SetAlpha(alpha float64) + func (e *MatrixEngine) SetQueryRepeat(n int) + func (e *MatrixEngine) SetSentimentAnalyzer(a *sentiment.Analyzer) + func (e *MatrixEngine) SetVectorizer(v *vector.Vectorizer) + func (e *MatrixEngine) UpdateNeuron(id core.NeuronID, newContent string) error + type SearchResult struct + Neuron *core.Neuron + Score float64 + type Searcher struct + func NewSearcher(matrix *core.Matrix) *Searcher + func (s *Searcher) Search(query string, depth int, limit int) []*core.Neuron + func (s *Searcher) SetMetadata(metadata map[string]string, strict bool) + func (s *Searcher) SetSentimentAnalyzer(a *sentiment.Analyzer) + func (s *Searcher) SetVectorizer(v *vector.Vectorizer, alpha float64, queryRepeat int)