Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## avrora.sim.radio.freespace
Class Distance

    java.lang.Object
      avrora.sim.radio.freespace.Distance

public class Distance
extends java.lang.Object

stores the between a node and the node who own radio

Field Summary
`double` | `distance`
`LocalAir` | `radio`

Constructor Summary
`Distance(LocalAir r, double dis)` new Disance

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### distance

    public double distance

### radio

    public LocalAir radio

Constructor Detail

### Distance

    public Distance(LocalAir r,
                    double dis)

  new Disance

Parameters:
  `r` - local radio
  `dis` - distance

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD