Weighted

schrodinger.montecarlo.Weighted$
See theWeighted companion class
object Weighted

Attributes

Companion:
class
Source:
Weighted.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

final case class Heavy[W, A](weight: W, density: W, value: A) extends Weighted[W, A]

Attributes

Source:
Weighted.scala
Graph
Supertypes
class Weighted[W, A]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
final case class Weightless[W, A](weight: W) extends Weighted[W, A]

Attributes

Companion:
object
Source:
Weighted.scala
Graph
Supertypes
class Weighted[W, A]
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
object Weightless

Attributes

Companion:
class
Source:
Weighted.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source:
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source:
Mirror.scala

Value members

Concrete methods

def apply[W, A](weight: W, density: W, value: A)(using evidence$4: Eq[W], W: Semiring[W]): Weighted[W, A]

Attributes

Source:
Weighted.scala
def apply[W, A](density: W, value: A)(using W: MultiplicativeMonoid[W]): Weighted[W, A]

Attributes

Source:
Weighted.scala
def pure[W, A](a: A)(using W: MultiplicativeMonoid[W]): Weighted[W, A]

Attributes

Source:
Weighted.scala
def weightless[W, A](using W: Semiring[W]): Weighted[W, A]

Attributes

Source:
Weighted.scala

Givens

Inherited givens

given given_Eq_Weighted[W, A](using evidence$11: Eq[W], evidence$12: Eq[A]): given_Eq_Weighted[W, A]

Attributes

Inherited from:
WeightedInstances1 (hidden)
Source:
Weighted.scala
given given_Hash_Weighted[W, A](using evidence$9: Hash[W], evidence$10: Hash[A]): Hash[Weighted[W, A]]

Attributes

Inherited from:
WeightedInstances0 (hidden)
Source:
Weighted.scala
given given_InvariantMonoidal_Weighted[F[_], W](using Rig[W], Eq[W]): InvariantMonoidal[[_] =>> Weighted[W, _$3]]

Attributes

Inherited from:
WeightedInstances (hidden)
Source:
Weighted.scala
given given_Invariant_Weighted[W]: Invariant[[_] =>> Weighted[W, _$4]]

Attributes

Inherited from:
WeightedInstances0 (hidden)
Source:
Weighted.scala
given given_Order_Weighted[W, A](using evidence$5: Order[W], evidence$6: Order[A]): Order[Weighted[W, A]]

Attributes

Inherited from:
WeightedInstances (hidden)
Source:
Weighted.scala
given given_Show_Weighted[W, A](using evidence$7: Show[W], evidence$8: Show[A]): given_Show_Weighted[W, A]

Attributes

Inherited from:
WeightedInstances (hidden)
Source:
Weighted.scala