Packages

class TabuFeatures extends AnyRef

The TabuFeatures keeps track of pairs of features, so they are not repeatedly tried.

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

Instance Constructors

  1. new TabuFeatures()

Value Members

  1. def addTaboo(feature1: Int, feature2: Int, cutOff: Int): Unit

    Add the 'j'th and 'j+1'th element of 'featureOrder' into the tabu list.

    Add the 'j'th and 'j+1'th element of 'featureOrder' into the tabu list. If the tabu list is too large, remove the oldest element.

    feature1

    'j'th element of 'featureOrder'

    feature2

    'j+1'th element of 'featureOrder'

    cutOff

    tabu list size

  2. def clear(): Unit

    Clear all features.

  3. def notInTaboo(feature1: Int, feature2: Int): Boolean

    Check if the 'j'th and 'j+1'th element of 'featureOrder' are in the tabu list.

    Check if the 'j'th and 'j+1'th element of 'featureOrder' are in the tabu list.

    feature1

    'j'th element of 'featureOrder'

    feature2

    'j+1'th element of 'featureOrder'