schrodinger-monte-carlo
schrodinger-monte-carlo
schrodinger.montecarlo
ImportanceSampler
Params
MarkovChain
Params
VariationalDistribution
Weighted
Weighted
Heavy
Weightless
Weightless
WeightedT
schrodinger-monte-carlo
/
schrodinger.montecarlo
/
Weighted
Weighted
sealed abstract
class
Weighted
[
W
,
+
A
]
extends
Product
with
Serializable
Companion:
object
Graph
Supertypes
Known subtypes
trait
Serializable
trait
Product
trait
Equals
class
Object
trait
Matchable
class
Any
class
Heavy
[
W
,
A
]
class
Weightless
[
W
]
Value members
Value members
Abstract methods
def
density
:
W
def
isWeightless
:
Boolean
def
weight
:
W
Concrete methods
final
def
===
[
B
>:
A
](
that:
Weighted
[
W
,
B
])(
using
evidence$3:
Eq
[
B
],
Eq
[
W
]):
Boolean
final
def
flatMap
[
B
](
f:
A
=>
Weighted
[
W
,
B
])(
using
Rig
[
W
],
Eq
[
W
]):
Weighted
[
W
,
B
]
final
def
importance
(
f:
A
=>
W
)(
using
Semifield
[
W
],
Eq
[
W
]):
Weighted
[
W
,
A
]
final
def
importanceA
[
F
[
_
],
B
>:
A
](
f:
B
=>
F
[
W
])(
using
evidence$1:
Applicative
[
F
],
Semifield
[
W
],
Eq
[
W
]):
F
[
Weighted
[
W
,
B
]]
final
def
isHeavy
:
Boolean
final
def
map
[
B
](
f:
A
=>
B
):
Weighted
[
W
,
B
]
final
def
product
[
B
](
b:
Weighted
[
W
,
B
])(
using
Rig
[
W
],
Eq
[
W
]):
Weighted
[
W
, (
A
,
B
)]
final
def
show
[
B
>:
A
](
using
evidence$2:
Show
[
B
],
Show
[
W
]):
String
final override
def
toString
:
String
Definition Classes
Any
Inherited methods
def
canEqual
(
that:
Any
):
Boolean
Inherited from:
Equals
def
productArity
:
Int
Inherited from:
Product
def
productElement
(
n:
Int
):
Any
Inherited from:
Product
def
productElementName
(
n:
Int
):
String
Inherited from:
Product
def
productElementNames
:
Iterator
[
String
]
Inherited from:
Product
def
productIterator
:
Iterator
[
Any
]
Inherited from:
Product
def
productPrefix
:
String
Inherited from:
Product