mapper

package
v0.0.0-...-d6964e2 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapperFileToPA

func MapperFileToPA(file string) (*model.PushDownAutomaton, error)

MapperFileToPA maps the csv file to Transactions struct

func MapperToMetadata

func MapperToMetadata(s []string) *model.MetaData

MapperToMetadata map array string to Metadata struct

func MapperToTransition

func MapperToTransition(s []string) *model.Transition

MapperToTransition map array string to Transition struct

func MeapperFileToPA

func MeapperFileToPA(file string) ([]*model.Transition, *model.MetaData, error)

MapperFileToPA maps the csv file to Transactions struct

func ReadFile

func ReadFile(file string) [][]string

ReadFile accepts file path of csv and return content in [][] string

Types

This section is empty.

Jump to

Keyboard shortcuts

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