Documentation ¶
Index ¶
- Variables
- func CreateLabel(names []string, nmax int) (rv string)
- type Layers
- type Node
- type NodeGrouper
- type Rules
- func (cb *Rules) AddEdge(e *node.Edge)
- func (cb *Rules) AddNode(n *node.Node) error
- func (cb *Rules) CountRules() int
- func (cb *Rules) FromReader(r io.Reader) (err error)
- func (cb *Rules) Match(n *node.Node) (cluster string, ok bool)
- func (cb *Rules) Name() string
- func (cb *Rules) Write(w io.Writer) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func CreateLabel ¶ added in v1.8.1
Types ¶
type NodeGrouper ¶ added in v1.8.1
type NodeGrouper struct {
// contains filtered or unexported fields
}
func NewGrouper ¶
func NewGrouper( similarity float64, ) *NodeGrouper
func (*NodeGrouper) Add ¶ added in v1.8.1
func (ng *NodeGrouper) Add(k string, n *Node)
func (*NodeGrouper) IterGroups ¶ added in v1.8.1
func (ng *NodeGrouper) IterGroups( iter func(int, []string), )
type Rules ¶
type Rules struct {
// contains filtered or unexported fields
}
func NewRules ¶
func NewRules( b graph.NamedBuilderWriter, r exprRUN, ) *Rules
func (*Rules) CountRules ¶
Click to show internal directories.
Click to hide internal directories.