[]
Resets the tree values and state. All the values are set to Integer.MAX_VALUE and the states to 0.
public virtual void reset()
Public Overridable Sub reset()
Resets the tree values and state. The values are set to the values in 'val'. The states are all set to 0.
public virtual void reset(int[] val)
Public Overridable Sub reset(val As Integer())
| Type | Name | Description |
|---|---|---|
| int[] | val | The new values for the leafs, in lexicographical order. |