Packages

c

apps.optimization

ServiceNetwork

class ServiceNetwork extends ColorDAG

The ServiceNetwork class is used for optimizing service networks.

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

Instance Constructors

  1. new ServiceNetwork(dimensions: Array[Int], maxIn: Int, maxOut: Int, minColors: Int, maxColors: Int, colorDepth: Int, seed: Int, maxUnits: Int = 5, maxCost: Int = 5)

    dimensions

    the dimension (number of nodes) for each stage

    maxIn

    the maximum number of input colors for an internal node

    maxOut

    the maximum number of output colors for an internal node

    minColors

    the minimum number of child colors allowed in the color hierarchy

    maxColors

    the maximum number of child colors allowed in the color hierarchy

    colorDepth

    the maximum depth of the color hierarchy tree

    seed

    the seed for the various random number generators

    maxCost

    the maximum cost for a node's service

Type Members

  1. class DagNode extends AnyRef
    Definition Classes
    ColorDAG
  2. class Edge extends AnyRef
    Definition Classes
    ColorDAG

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def checkIO(): Int
    Definition Classes
    ColorDAG
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  7. val colors: Tree
    Definition Classes
    ColorDAG
  8. def connect(): Unit
    Definition Classes
    ColorDAG
  9. val cost: HashMap[Int, Int]
  10. val edges: ListBuffer[Edge]
    Definition Classes
    ColorDAG
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def genNodes(): Unit
    Definition Classes
    ColorDAG
  14. def genUniqueColor(ioColors: Array[TreeNode]): TreeNode
    Definition Classes
    ColorDAG
  15. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. val nColors: Int
    Definition Classes
    ColorDAG
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. val nodes: Array[Array[DagNode]]
    Definition Classes
    ColorDAG
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. def popInOut(): Unit
    Definition Classes
    ColorDAG
  24. def printColorTree(): Unit
    Definition Classes
    ColorDAG
  25. def printColors(): Unit
    Definition Classes
    ColorDAG
  26. def printDAG(): Unit
    Definition Classes
    ColorDAG
  27. def printInOut(): Unit
    Definition Classes
    ColorDAG
  28. val randCol: Randi
    Definition Classes
    ColorDAG
  29. val randCost: Randi
  30. val randIn: Randi
    Definition Classes
    ColorDAG
  31. val randOut: Randi
    Definition Classes
    ColorDAG
  32. val randUnit: Randi
  33. def setCosts(): Unit

    Set the costs and associated production parameters.

  34. val stages: Int
    Definition Classes
    ColorDAG
  35. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  36. def toString(): String
    Definition Classes
    AnyRef → Any
  37. val unit: HashMap[Int, Int]
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from ColorDAG

Inherited from AnyRef

Inherited from Any

Ungrouped