Class UsrDomain

All Implemented Interfaces:
Comparable<Domain>, CondObserver<Condition,Domain>, NamedObjectOps

public class UsrDomain extends HubDomain
Class providing a user domain. All hubs (except for storage hubs) are configured to be members of a user domain. A user domain's delay table gives the travel time by bicycle between pairs of hubs.
  • Field Details

    • commDomainType

      public static final CommDomainType commDomainType
      The communication domain type for all user domains.
  • Constructor Details

    • UsrDomain

      public UsrDomain(DramaSimulation sim, String name, boolean intern)
      Constructor.
      Parameters:
      sim - the simulation
      name - the name of this object
      intern - true if this object should be interned in the simulation's name table; false otherwise
    • UsrDomain

      public UsrDomain(DramaSimulation sim, String name, boolean intern, Domain parent)
      Constructor with parent domain.
      Parameters:
      sim - the simulation
      name - the name of this object
      intern - true if this object should be interned in the simulation's name table; false otherwise
      parent - the parent domain
  • Method Details