appGraph

package
v0.0.0-...-0687e5b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppGraph

type AppGraph interface {
	GetInDegree(vertex application.Keyspace) (int, bool)
	GetOutDegree(vertex application.Keyspace) (int, bool)
	GetInDegreeEdgeLabels(vertex application.Keyspace) []string
	GetOutDegreeEdgeLabels(vertex application.Keyspace) []string
	InsertEdges(label string, source application.Keyspace, destinations map[application.Keyspace]application.Writer)
	RemoveEdges(label string)
	IsAcyclicInsertPossible(label string, source application.Keyspace, destinations map[application.Keyspace]application.Writer) (possible bool, labels []string)
	GetAcyclicInsertSideEffects(destinations map[application.Keyspace]application.Writer) (labels []string)
}

func NewBucketMultiDiGraph

func NewBucketMultiDiGraph() AppGraph

type Stack

type Stack[T any] struct {
	// contains filtered or unexported fields
}

func NewStack

func NewStack[T any]() *Stack[T]

func (*Stack[T]) Pop

func (st *Stack[T]) Pop() (defaultValue T, found bool)

func (*Stack[T]) Push

func (st *Stack[T]) Push(value T)

func (*Stack[T]) Size

func (st *Stack[T]) Size() int

func (*Stack[T]) Top

func (st *Stack[T]) Top() (defaultValue T, found bool)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL