object

line(Name)

A metro line

author:
Sergio Castro
compilation flags:
static, context_switching_calls

(no dependencies on other files)

Public interface

name/1

Name is the line name.

compilation flags:
static
template:
name(Name)

connects/2

Station1 is connected to Station2 by means of this line.

compilation flags:
static
template:
connects(Station1,Station2)

add_connection/2

Station1 is now connected to Station2 by means of this line.

compilation flags:
static
template:
add_connection(Station1,Station2)

Protected interface

(none)

Private predicates

(none)

Operators

(none)

Remarks

(none)