Method ADT.TreeScheduler()->add()


Method add

variant Consumer(< ValueType >) add(int|float weight, mixed val, Consumer(< ValueType >) parent)

Description

Create a Consumer depending on parent with the weight weight for the value val, and add it to the Scheduler.