Package rinde.sim.core.model.communication

Examples of rinde.sim.core.model.communication.Mailbox


  public RandomWalkAgent(double speed, int radius, double reliability) {
    this.speed = speed;
    this.radius = radius;
    communicatedWith = new HashSet<RandomWalkAgent>();
    lastCommunicationTime = new HashMap<RandomWalkAgent, Long>();
    mailbox = new Mailbox();
    lock = new ReentrantLock();
    communications = 0;
    this.reliability = reliability;
  }
View Full Code Here

TOP

Related Classes of rinde.sim.core.model.communication.Mailbox

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.