Packages

object StructuredLexicon extends Serializable

Companion object to StructuredLexicon containing functions to generate graded or binary structured lexicons.

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

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 clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. def generateBinaryStructuredLexicon(vocabularyRepresentations: Vector[Vector[Boolean]], contextRepresentations: Vector[Vector[Boolean]], mappingFunction: StructuredMappingFunction, mappingThreshold: Double): StructuredLexicon

    Generates a StructuredLexicon based on predefined binary string representations for the signals in the vocabulary and referents in the context.

    Generates a StructuredLexicon based on predefined binary string representations for the signals in the vocabulary and referents in the context. It computes for each signal-referent pair their representational similarity, which is used as the signal-referent graded value.

    vocabularyRepresentations

    A vector of binary string representations of the signals in the vocabulary.

    contextRepresentations

    A vector of binary string representations of the referents in the context.

    mappingFunction

    The mapping function that computes the similarity between two binary string representations.

    mappingThreshold

    This threshold is used to decide if a signal and referent are representationally similar.

    returns

    A binary structured lexicon.

  10. def generateBinaryStructuredLexicon(representationLength: Int, mappingFunction: StructuredMappingFunction, mappingThreshold: Double, vocabularySize: Int, contextSize: Int): StructuredLexicon

    Generates a binary StructuredLexicon from scratch, randomly generating also the binary string representations for the signals in the vocabulary and referents in the context.

    Generates a binary StructuredLexicon from scratch, randomly generating also the binary string representations for the signals in the vocabulary and referents in the context. It then computes for each signal-referent pair their representational similarity, and when that similarity is >= mappingThreshold, the signal-referent relationship is set to 1.0 and otherwise it is set to 0.0.

    representationLength

    The length of the binary string representations.

    mappingFunction

    The mapping function that computes the similarity between two binary string representations.

    mappingThreshold

    This threshold is used to decide if a signal and referent are representationally similar.

    vocabularySize

    The size of the vocabulary of the lexicon.

    contextSize

    The size of the context of the lexicon.

    returns

    A randomly generated binary structured lexicon.

  11. def generateGradedStructuredLexicon(vocabularyRepresentations: Vector[Vector[Boolean]], contextRepresentations: Vector[Vector[Boolean]], mappingFunction: StructuredMappingFunction): StructuredLexicon

    Generates a graded StructuredLexicon based on predefined binary string representations for the signals in the vocabulary and referents in the context.

    Generates a graded StructuredLexicon based on predefined binary string representations for the signals in the vocabulary and referents in the context. It computes for each signal-referent pair their representational similarity, which is used as the signal-referent graded value.

    vocabularyRepresentations

    A vector of binary string representations of the signals in the vocabulary.

    contextRepresentations

    A vector of binary string representations of the referents in the context.

    mappingFunction

    The mapping function that computes the similarity between two binary string representations.

    returns

    A graded structured lexicon.

  12. def generateGradedStructuredLexicon(representationLength: Int, mappingFunction: StructuredMappingFunction, vocabularySize: Int, contextSize: Int): StructuredLexicon

    Generates a graded StructuredLexicon from scratch, randomly generating also the binary string representations for the signals in the vocabulary and referents in the context.

    Generates a graded StructuredLexicon from scratch, randomly generating also the binary string representations for the signals in the vocabulary and referents in the context. It then computes for each signal-referent pair their representational similarity, which is used as the signal-referent graded value.

    representationLength

    The length of the binary string representations.

    mappingFunction

    The mapping function that computes the similarity between two binary string representations.

    vocabularySize

    The size of the vocabulary of the lexicon.

    contextSize

    The size of the context of the lexicon.

    returns

    A randomly generated graded structured lexicon.

    Note

    It is not recommended to set representationLength lower than vocabularySize or contextSize.

  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. def mutateStructuredRepresentations(listOfRepresentations: Vector[Vector[Boolean]], changeRate: Double): Vector[Vector[Boolean]]

    Returns a mutated (but immutable) vector of binary string representations.

    Returns a mutated (but immutable) vector of binary string representations. Each bit in each binary string is mutated with probability changeRate.

    listOfRepresentations

    The original vector of binary string representations.

    changeRate

    The probability with which each bit in each binary string is mutated.

  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. def toString(): String
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped