121122123124125126127128129130131
for (Mote d : dests) { if (d == selectedMote) { continue; } final Radio dRadio = d.getInterfaces().getRadio(); TxPair txPair = new RadioPair() { @Override public Radio getFromRadio() { return selectedMote.getInterfaces().getRadio(); }
172173174175176177178179180181182
continue; } final Radio recvFinal = recv; /* Calculate receive probability */ TxPair txPair = new RadioPair() { public Radio getFromRadio() { return sender; } public Radio getToRadio() { return recvFinal;
349350351352353354355356357358359
continue; } /* Update noise levels */ final Radio toRadio = affectedRadio; TxPair txPair = new RadioPair() { public Radio getFromRadio() { return fromRadio; } public Radio getToRadio() { return toRadio;