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`
`LocalAirImpl` | `radio`

Constructor Summary
`Distance(LocalAirImpl 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 final double distance

### radio

    public final LocalAirImpl radio

Constructor Detail

### Distance

    public Distance(LocalAirImpl 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