From 0106ef70a05b313143feed12433fe516ccd2e480 Mon Sep 17 00:00:00 2001 From: filifa Date: Sun, 4 May 2025 13:41:13 -0400 Subject: [PATCH] adjust comments --- cmd/internal/markov/absorbing.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/internal/markov/absorbing.go b/cmd/internal/markov/absorbing.go index fd78203..4201979 100644 --- a/cmd/internal/markov/absorbing.go +++ b/cmd/internal/markov/absorbing.go @@ -140,18 +140,18 @@ func (g *AbsorbingMarkovChain) AdjacencyMatrix() *mat.Dense { return a } -// NewLine returns a weightedLine that can be added to the Markov chain. +// NewLine returns a DOT-aware weighted line. func (g *AbsorbingMarkovChain) NewLine(from, to graph.Node) graph.Line { e := g.WeightedDirectedGraph.NewWeightedLine(from, to, math.NaN()).(multi.WeightedLine) return &weightedLine{WeightedLine: e} } -// NewNode returns a Node that can be added to the Markov chain. +// NewNode returns a DOT-aware Node. func (g *AbsorbingMarkovChain) NewNode() graph.Node { return &Node{Node: g.WeightedDirectedGraph.NewNode()} } -// SetLine adds a weighted edge to the Markov chain. +// SetLine adds a DOT-aware weighted line to the Markov chain. func (g *AbsorbingMarkovChain) SetLine(e graph.Line) { g.WeightedDirectedGraph.SetWeightedLine(e.(*weightedLine)) }