diff --git a/lib/lrama/digraph.rb b/lib/lrama/digraph.rb index 45b553a8..47fd21ff 100644 --- a/lib/lrama/digraph.rb +++ b/lib/lrama/digraph.rb @@ -39,9 +39,9 @@ class Digraph # @h: Hash[X, (Integer|Float)?] # @result: Hash[X, Y] - # @rbs sets: Array[X] - # @rbs relation: Hash[X, Array[X]] - # @rbs base_function: Hash[X, Y] + # @rbs sets: Array[X] -- Nodes of graph + # @rbs relation: Hash[X, Array[X]] -- Edges of graph + # @rbs base_function: Hash[X, Y] -- Attributes of nodes # @rbs return: void def initialize(sets, relation, base_function) diff --git a/sig/generated/lrama/digraph.rbs b/sig/generated/lrama/digraph.rbs index 78fb5c93..9e1ad806 100644 --- a/sig/generated/lrama/digraph.rbs +++ b/sig/generated/lrama/digraph.rbs @@ -40,9 +40,9 @@ module Lrama @result: Hash[X, Y] - # @rbs sets: Array[X] - # @rbs relation: Hash[X, Array[X]] - # @rbs base_function: Hash[X, Y] + # @rbs sets: Array[X] -- Nodes of graph + # @rbs relation: Hash[X, Array[X]] -- Edges of graph + # @rbs base_function: Hash[X, Y] -- Attributes of nodes # @rbs return: void def initialize: (Array[X] sets, Hash[X, Array[X]] relation, Hash[X, Y] base_function) -> void