[Nml-wg] Simple example #1

Freek Dijkstra Freek.Dijkstra at sara.nl
Wed Jul 11 10:17:42 EDT 2012


On 11-07-2012 16:06, Roman Łapacz wrote:

> Bidirectional link is a Link (I see it as inheritance) so for pointing I
> think I can use Link element (but if it breaks a rule I can use
> BidirectionalLink for that, no problem)

A Bidirectional Link is not a (special case of a) Link, it's a group of
two (Unidirectional) Links. In the NML schema [1] there is no direct
inheritance between the two, although both subclass a Network Object
(but so does a Node).

(I would actually like a BidirectionalLink to be a Link, but all attempt
I did failed in logic: things like "isSource" and "isSink" would be
ambiguous in the direction. So I stopped trying for now.)

Freek

[1]
https://forge.ogf.org/sf/docman/do/downloadDocument/projects.nml-wg/docman.root.drafts/doc15481/9


More information about the nml-wg mailing list