public class MyLCRelation extends Object implements LCRelation
Modifier and Type | Field and Description |
---|---|
protected Object |
from
The 'from' object of the relation
|
protected Object |
to
The 'to' object of the relation
|
protected float |
weight
Relation weight
|
Modifier | Constructor and Description |
---|---|
private |
MyLCRelation()
Private constructor
|
|
MyLCRelation(Object from,
Object to)
Default weight is one
|
|
MyLCRelation(Object from,
Object to,
float weight)
Full constructor
|
protected Object from
protected Object to
protected float weight
public Object getFrom()
getFrom
in interface LCRelation
public Object getTo()
getTo
in interface LCRelation
public float getWeight()
getWeight
in interface LCRelation
public void setWeight(float weight)
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.