Interpreter

object Interpreter
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply(file: File): (IndexedSeq[Int], IndexedSeq[Point])

Reads a text file with edges, and returns the parsed data.

Reads a text file with edges, and returns the parsed data.

Value Params
file

the text file containing the edges. Each line is expected to hold data in the format "[id] [x coordinate] [y coordinate]". Example: "1 587.2 323.1"

Returns

the identifiers and coordinates