Packages

object Resource

The Resource companion object provides a builder method for resources.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Resource
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def apply(name: String, line: WaitQueue, units: Int, serviceTime: Variate, xy: (Int, Int)): Resource

    Create a resource using defaults for width 'w' and height 'h'.

    Create a resource using defaults for width 'w' and height 'h'.

    name

    the name of the resource

    line

    the line/queue where entities wait

    units

    the number of service units (e.g., bank tellers)

    serviceTime

    the service time distribution

    xy

    the (x, y) coordinates for the top-left corner of the resource.

  2. def group(serviceTime: Variate, xy: (Int, Int), rsc: (String, WaitQueue, Int, (Int, Int))*): List[Resource]

    Create a group of related resources using defaults for width 'w' and height 'h'.

    Create a group of related resources using defaults for width 'w' and height 'h'.

    serviceTime

    the service time distribution

    xy

    the (x, y) coordinates for the top-left corner of the reference resource.

    rsc

    repeated resource specific info: name, line, units, offset