Instance Constructors
-
new
DiscreteSeqVariable(len: Int)
-
new
DiscreteSeqVariable(initialValue: Array[Int])
-
new
DiscreteSeqVariable(initialValue: Seq[Int])
-
new
DiscreteSeqVariable()
Type Members
-
-
-
-
class
WithFilter extends FilterMonadic[A, Repr]
Concrete Value Members
-
final
def
!=(arg0: AnyRef): Boolean
-
final
def
!=(arg0: Any): Boolean
-
def
!==(other: Var): Boolean
-
final
def
##(): Int
-
def
++[B >: DiscreteValue, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[DiscreteValue], B, That]): That
-
def
++:[B >: DiscreteValue, That](that: Traversable[B])(implicit bf: CanBuildFrom[Iterable[DiscreteValue], B, That]): That
-
def
++:[B >: DiscreteValue, That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[DiscreteValue], B, That]): That
-
-
-
def
/:[B](z: B)(op: (B, DiscreteValue) ⇒ B): B
-
final
def
:=(newValue: Value): Unit
-
def
:\[B](z: B)(op: (DiscreteValue, B) ⇒ B): B
-
final
def
==(arg0: AnyRef): Boolean
-
final
def
==(arg0: Any): Boolean
-
def
===(other: Var): Boolean
-
final
def
_append(elem: Int): DiscreteSeqVariable.this.type
-
def
_appendAll(elts: TraversableOnce[Int]): Unit
-
def
_appendAll(elts: Array[Int]): Unit
-
final
def
_apply(index: Int): Int
-
def
_array: Array[Int]
-
final
def
_asArray: Array[Int]
-
def
_asIntSeq: IntSeq
-
def
_asSeq: IndexedSeq[Int]
-
def
_capacityGrowthFactor: Double
-
def
_clear(): Unit
-
def
_considerShrinkingCapacity(): Unit
-
def
_containsSorted(x: Int): Boolean
-
def
_copyToArray(a: Array[Int]): Unit
-
final
def
_ensureCapacity(cap: Int): Unit
-
def
_fill(elt: Int): Unit
-
def
_foreach[U](f: (Int) ⇒ U): Unit
-
final
def
_increment(index: Int, incr: Int): Unit
-
def
_indexForInsertSorted(i: Int): Int
-
def
_indexForInsertSortedLinear(i: Int): Int
-
def
_indexOf(i: Int): Int
-
def
_indexOfSorted(i: Int): Int
-
def
_initialCapacity: Int
-
def
_insert(index: Int, elt: Int): Unit
-
def
_insertAll(index: Int, seq: Traversable[Int]): Unit
-
def
_insertAllSorted(seq: Traversable[Int]): Unit
-
def
_insertSorted(elt: Int): Unit
-
def
_insertSortedNoDuplicates(elt: Int): Unit
-
final
def
_length: Int
-
def
_mapToArray[A](a: Array[A], f: (Int) ⇒ A): Unit
-
def
_prepend(elt: Int): Unit
-
def
_prependAll(elts: TraversableOnce[Int]): Unit
-
def
_reduceToSize(newSize: Int): Unit
-
def
_remove(index: Int): Unit
-
def
_remove(index: Int, count: Int): Unit
-
def
_set(elts: Seq[Int]): Unit
-
def
_set(elts: Array[Int]): Unit
-
final
def
_setCapacity(cap: Int): Unit
-
def
_sizeHint(len: Int): Unit
-
def
_sum: Int
-
def
_takeAsIntSeq(len: Int): IntSeq
-
def
_toArray: Array[Int]
-
def
_toSeq: IndexedSeq[Int]
-
def
_trimCapacity(): Unit
-
final
def
_update(index: Int, value: Int): Unit
-
-
-
def
addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
-
def
aggregate[B](z: B)(seqop: (B, DiscreteValue) ⇒ B, combop: (B, B) ⇒ B): B
-
def
appendInt(i: Int): Unit
-
def
appendInts(xs: Array[Int]): Unit
-
def
appendInts(xs: Iterable[Int]): Unit
-
-
final
def
asInstanceOf[T0]: T0
-
def
canEqual(that: Any): Boolean
-
def
clear(): Unit
-
def
clone(): AnyRef
-
def
collect[B, That](pf: PartialFunction[DiscreteValue, B])(implicit bf: CanBuildFrom[Iterable[DiscreteValue], B, That]): That
-
def
collectFirst[B](pf: PartialFunction[DiscreteValue, B]): Option[B]
-
def
companion: GenericCompanion[Iterable]
-
def
contains(elem: Any): Boolean
-
def
copyToArray[B >: DiscreteValue](xs: Array[B], start: Int, len: Int): Unit
-
def
copyToArray[B >: DiscreteValue](xs: Array[B]): Unit
-
def
copyToArray[B >: DiscreteValue](xs: Array[B], start: Int): Unit
-
def
copyToBuffer[B >: DiscreteValue](dest: Buffer[B]): Unit
-
def
count(p: (DiscreteValue) ⇒ Boolean): Int
-
-
def
drop(n: Int): Iterable[DiscreteValue]
-
def
dropRight(n: Int): Iterable[DiscreteValue]
-
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
exists(f: (DiscreteValue) ⇒ Boolean): Boolean
-
def
fill(newValue: Int): Unit
-
-
-
def
finalize(): Unit
-
-
def
flatMap[B, That](f: (DiscreteValue) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[DiscreteValue], B, That]): That
-
def
flatten[B](implicit asTraversable: (DiscreteValue) ⇒ GenTraversableOnce[B]): Iterable[B]
-
def
fold[A1 >: DiscreteValue](z: A1)(op: (A1, A1) ⇒ A1): A1
-
def
foldLeft[B](z: B)(op: (B, DiscreteValue) ⇒ B): B
-
def
foldRight[B](z: B)(op: (DiscreteValue, B) ⇒ B): B
-
def
forall(p: (DiscreteValue) ⇒ Boolean): Boolean
-
def
foreach[U](f: (DiscreteValue) ⇒ U): Unit
-
def
genericBuilder[B]: Builder[B, Iterable[B]]
-
final
def
getClass(): Class[_]
-
-
def
grouped(size: Int): Iterator[Iterable[DiscreteValue]]
-
def
hasDefiniteSize: Boolean
-
def
hashCode(): Int
-
-
-
def
indexOf[B >: DiscreteValue](elem: B, from: Int): Int
-
def
indexOf[B >: DiscreteValue](elem: B): Int
-
def
indexWhere(p: (DiscreteValue) ⇒ Boolean): Int
-
def
indexWhere(p: (DiscreteValue) ⇒ Boolean, from: Int): Int
-
-
def
inits: Iterator[Iterable[DiscreteValue]]
-
def
intValue(seqIndex: Int): Int
-
def
intValues: Array[Int]
-
def
isEmpty: Boolean
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
isTraversableAgain: Boolean
-
-
-
-
def
length: Int
-
-
def
map[B, That](f: (DiscreteValue) ⇒ B)(implicit bf: CanBuildFrom[Iterable[DiscreteValue], B, That]): That
-
-
-
-
-
def
mkString: String
-
def
mkString(sep: String): String
-
def
mkString(start: String, sep: String, end: String): String
-
final
def
ne(arg0: AnyRef): Boolean
-
-
def
nonEmpty: Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
-
-
-
def
printName: String
-
-
def
reduce[A1 >: DiscreteValue](op: (A1, A1) ⇒ A1): A1
-
-
def
reduceLeftOption[B >: DiscreteValue](op: (B, DiscreteValue) ⇒ B): Option[B]
-
def
reduceOption[A1 >: DiscreteValue](op: (A1, A1) ⇒ A1): Option[A1]
-
-
def
reduceRightOption[B >: DiscreteValue](op: (DiscreteValue, B) ⇒ B): Option[B]
-
-
-
def
sameElements[B >: DiscreteValue](that: GenIterable[B]): Boolean
-
def
scan[B >: DiscreteValue, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[Iterable[DiscreteValue], B, That]): That
-
def
scanLeft[B, That](z: B)(op: (B, DiscreteValue) ⇒ B)(implicit bf: CanBuildFrom[Iterable[DiscreteValue], B, That]): That
-
def
scanRight[B, That](z: B)(op: (DiscreteValue, B) ⇒ B)(implicit bf: CanBuildFrom[Iterable[DiscreteValue], B, That]): That
-
-
def
set(seqIndex: Int, newValue: Int)(implicit d: DiffList): Unit
-
def
set(newValue: Value)(implicit d: DiffList): Unit
-
def
size: Int
-
def
slice(from: Int, until: Int): Iterable[DiscreteValue]
-
def
sliding(size: Int, step: Int): Iterator[Iterable[DiscreteValue]]
-
def
sliding(size: Int): Iterator[Iterable[DiscreteValue]]
-
-
-
def
stringPrefix: String
-
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
-
def
tails: Iterator[Iterable[DiscreteValue]]
-
def
take(n: Int): Iterable[DiscreteValue]
-
def
takeRight(n: Int): Iterable[DiscreteValue]
-
-
def
thisCollection: Iterable[DiscreteValue]
-
-
def
toArray[B >: DiscreteValue](implicit arg0: ClassTag[B]): Array[B]
-
def
toBuffer[B >: DiscreteValue]: Buffer[B]
-
-
def
toIndexedSeq: IndexedSeq[DiscreteValue]
-
-
-
-
def
toMap[T, U](implicit ev: <:<[DiscreteValue, (T, U)]): Map[T, U]
-
-
-
-
def
toString(): String
-
def
toTraversable: Traversable[DiscreteValue]
-
-
def
transpose[B](implicit asTraversable: (DiscreteValue) ⇒ GenTraversableOnce[B]): Iterable[Iterable[B]]
-
def
trimCapacity(): Unit
-
def
uniqueIntValues: Array[Int]
-
def
unzip[A1, A2](implicit asPair: (DiscreteValue) ⇒ (A1, A2)): (Iterable[A1], Iterable[A2])
-
def
unzip3[A1, A2, A3](implicit asTriple: (DiscreteValue) ⇒ (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])
-
def
value: Value
-
def
view(from: Int, until: Int): IterableView[DiscreteValue, Iterable[DiscreteValue]]
-
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
-
-
def
zip[A1 >: DiscreteValue, B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[Iterable[DiscreteValue], (A1, B), That]): That
-
def
zipAll[B, A1 >: DiscreteValue, That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[Iterable[DiscreteValue], (A1, B), That]): That
-
def
zipWithIndex[A1 >: DiscreteValue, That](implicit bf: CanBuildFrom[Iterable[DiscreteValue], (A1, Int), That]): That
Deprecated Value Members
-
def
/:\[A1 >: DiscreteValue](z: A1)(op: (A1, A1) ⇒ A1): A1
Inherited from Equals
Inherited from GenericTraversableTemplate[DiscreteValue, Iterable]
Inherited from Any
An variable whose values are sequences of DiscreteValues, and this sequence can be changed. The method 'domain' is abstract. These are used, for example, to store the 'z' indicator variables in Latent Dirichlet Allocation.