Skip to content

Errors when running the commands in README #1

@feihugis

Description

@feihugis

I tried to run MAiD by following the instruction in README, but got the following error when run go run prune.go indonesia-raw.graph indonesia-raw.iface indonesia-raw.probs indonesia-raw-pruned.graph:

./prune.go:97:39: graph.GetRoadSegmentGraph undefined (type *common.Graph has no field or method GetRoadSegmentGraph)
./prune.go:175:28: graph.FilterEdgesWithMaps undefined (type *common.Graph has no field or method FilterEdgesWithMaps)
./prune.go:190:23: graph.GetRoadSegments undefined (type *common.Graph has no field or method GetRoadSegments)
./prune.go:228:17: unknown field 'EdgeLengths' in struct literal of type common.ShortestPathParams
./prune.go:240:20: result.GetFullPathTo undefined (type common.ShortestPathResult has no field or method GetFullPathTo)
./prune.go:248:23: graph.FindEdge undefined (type *common.Graph has no field or method FindEdge)
./prune.go:293:17: unknown field 'EdgeLengths' in struct literal of type common.ShortestPathParams
./prune.go:311:19: result.GetFullPathTo undefined (type common.ShortestPathResult has no field or method GetFullPathTo)
./prune.go:313:19: graph.FindEdge undefined (type *common.Graph has no field or method FindEdge)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions