public class ObstacleLinkResolver extends LinkResolver
Constructor and Description |
---|
ObstacleLinkResolver(Topology topology) |
Modifier and Type | Method and Description |
---|---|
boolean |
isHeardBy(Node arg0,
Node arg1)
Determines whether a message sent from the first
Node could be recieved by the second one. |
public ObstacleLinkResolver(Topology topology)
public boolean isHeardBy(Node arg0, Node arg1)
LinkResolver
Node
could be recieved by the second one.isHeardBy
in class LinkResolver
arg0
- the emitter Node
arg1
- the receiver Node
true
if n2 can recieve a message from n1; false
otherwise