class ServiceNetwork extends ColorDAG
The ServiceNetwork
class is used for optimizing service networks.
- Alphabetic
- By Inheritance
- ServiceNetwork
- ColorDAG
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
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
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
checkIO(): Int
- Definition Classes
- ColorDAG
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
val
colors: Tree
- Definition Classes
- ColorDAG
-
def
connect(): Unit
- Definition Classes
- ColorDAG
- val cost: HashMap[Int, Int]
-
val
edges: ListBuffer[Edge]
- Definition Classes
- ColorDAG
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
genNodes(): Unit
- Definition Classes
- ColorDAG
-
def
genUniqueColor(ioColors: Array[TreeNode]): TreeNode
- Definition Classes
- ColorDAG
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
val
nColors: Int
- Definition Classes
- ColorDAG
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
val
nodes: Array[Array[DagNode]]
- Definition Classes
- ColorDAG
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
popInOut(): Unit
- Definition Classes
- ColorDAG
-
def
printColorTree(): Unit
- Definition Classes
- ColorDAG
-
def
printColors(): Unit
- Definition Classes
- ColorDAG
-
def
printDAG(): Unit
- Definition Classes
- ColorDAG
-
def
printInOut(): Unit
- Definition Classes
- ColorDAG
-
val
randCol: Randi
- Definition Classes
- ColorDAG
- val randCost: Randi
-
val
randIn: Randi
- Definition Classes
- ColorDAG
-
val
randOut: Randi
- Definition Classes
- ColorDAG
- val randUnit: Randi
-
def
setCosts(): Unit
Set the costs and associated production parameters.
-
val
stages: Int
- Definition Classes
- ColorDAG
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
- val unit: HashMap[Int, Int]
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated