loader

package
v0.0.0-...-4dc66ed Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HeapLoader

type HeapLoader struct{}

HeapLoader loads vertex from heap

func (*HeapLoader) LoadPartition

func (l *HeapLoader) LoadPartition(partitionID uint64, numOfPartitions uint64) ([]*Vert, error)

LoadPartition loads vertices of partition

type Loader

type Loader interface {
	LoadPartition(partitionID uint64, numOfPartitions uint64) ([]*Vert, error)
}

Loader loads graph

type Vert

type Vert struct {
	ID        string
	Outgoings map[string]uint32
}

Vert is vertex

Jump to

Keyboard shortcuts

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