Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
bus
0.1.1
Bus
Confidence
Evaluation
Handler
Message
Strategy
Pipeline
Version
Built with Crystal 1.9.2
2023-10-08 14:53:11 UTC
struct
Bus::Confidence
Bus::Confidence
Struct
Value
Object
Defined in:
bus/confidence.cr
Constructors
.new
(relevance : Int32 =
0
, certainty : Int32 =
0
, force : Bool | Nil =
nil
)
.new
(force : Bool | Nil =
nil
)
Instance Method Summary
#<=>
(val : Confidence) : Int32
#certainty
: Int32
#force
: Bool | Nil
#relevance
: Int32
Constructor Detail
def self.
new
(relevance : Int32 =
0
, certainty : Int32 =
0
, force : Bool | Nil =
nil
)
#
[
View source
]
def self.
new
(force : Bool | Nil =
nil
)
#
[
View source
]
Instance Method Detail
def
<=>
(val :
Confidence
) : Int32
#
[
View source
]
def
certainty
: Int32
#
[
View source
]
def
force
: Bool | Nil
#
[
View source
]
def
relevance
: Int32
#
[
View source
]