From abfaa2d9fcc10dcecb2ce8ce3a0a220d1e2ae449 Mon Sep 17 00:00:00 2001 From: GitHub Action Date: Fri, 24 Nov 2023 13:14:58 +0000 Subject: [PATCH] Update documentation from github actions --- qrbs/genindex.html | 48 ++++++++++++++++++++---------------------- qrbs/modules.html | 12 +++++------ qrbs/neasqc_qrbs.html | 44 ++++++++++++++++++++------------------ qrbs/objects.inv | Bin 2024 -> 2028 bytes qrbs/searchindex.js | 2 +- 5 files changed, 53 insertions(+), 53 deletions(-) diff --git a/qrbs/genindex.html b/qrbs/genindex.html index 47fb0a4..77a0257 100644 --- a/qrbs/genindex.html +++ b/qrbs/genindex.html @@ -92,9 +92,9 @@

Index

| M | N | O + | P | Q | R - | U | V | W @@ -248,10 +248,16 @@

B

C

@@ -287,14 +293,6 @@

F

I

-
@@ -391,6 +389,18 @@

O

+

P

+ + +
+

Q

-
  • rightHandSide (neasqc_qrbs.knowledge_rep.Rule attribute) +
  • right_hand_side (neasqc_qrbs.knowledge_rep.Rule attribute)
  • Rule (class in neasqc_qrbs.knowledge_rep)
  • @@ -441,18 +451,6 @@

    R

    -

    U

    - - -
    -

    V

      diff --git a/qrbs/modules.html b/qrbs/modules.html index 4f80254..5e86df0 100644 --- a/qrbs/modules.html +++ b/qrbs/modules.html @@ -140,9 +140,9 @@

      neasqc_qrbsFact
    • KnowledgeIsland diff --git a/qrbs/neasqc_qrbs.html b/qrbs/neasqc_qrbs.html index 339ae4d..296398c 100644 --- a/qrbs/neasqc_qrbs.html +++ b/qrbs/neasqc_qrbs.html @@ -575,7 +575,7 @@

      Submodules
      -class neasqc_qrbs.knowledge_rep.Fact(attribute, value, imprecission=0.0)
      +class neasqc_qrbs.knowledge_rep.Fact(attribute, value, precision=0.0)

      Bases: LeftHandSide

      Class representing a Fact.

      A Fact is the smallest unit of knowledge that can be represented. This class is used to model the Composite design pattern, acting as the Leaf class.

      @@ -602,9 +602,9 @@

      Submodules -
      -imprecission
      -

      Imprecission of the fact; the certainty of the attribute having said value (0 if not specified). Must be in range [0,1].

      +
      +precision
      +

      Precision of the fact; the certainty of the attribute having said value (0 if not specified). Must be in range [0,1].

      Type:

      float, optional

      @@ -619,7 +619,7 @@

      Submodules
      -property imprecission
      +property precision

      @@ -655,7 +655,7 @@

      Submodules
      -build() qat.lang.AQASM.QRoutine
      +build(builder) qat.lang.AQASM.QRoutine

      @@ -721,13 +721,13 @@

      Submodules
      -class neasqc_qrbs.knowledge_rep.Rule(lefthandside, righthandside, uncertainty=0.0)
      +class neasqc_qrbs.knowledge_rep.Rule(left_hand_side, right_hand_side, certainty=0.0)

      Bases: Buildable

      Class representing a Rule.

      A Rule which establishes a relationship (to some level of uncertainty) between a left hand side element and a right hand side, which in this context is a Fact.

      -
      -leftHandSide
      +
      +left_hand_side

      Left hand side element of the rule (also known as precedent).

      Type:
      @@ -737,9 +737,9 @@

      Submodules -
      -rightHandSide
      -

      Right hand side element of the rule (also known as consecuent).

      +
      +right_hand_side
      +

      Right hand side element of the rule (also known as consequent).

      Type:

      Fact

      @@ -748,9 +748,9 @@

      Submodules -
      -uncertainty
      -

      Uncertainty of the relationship between precedent and consecuent (0 if not specified). Must be in range [0,1].

      +
      +certainty
      +

      Certainty of the relationship between precedent and consequent (0 if not specified). Must be in range [0,1].

      Type:

      float, optional

      @@ -765,7 +765,7 @@

      Submodules
      -property uncertainty
      +property certainty

      @@ -775,7 +775,7 @@

      Submodules

      neasqc_qrbs.qrbs module

      -class neasqc_qrbs.qrbs.InferenceEngine(rules=[], islands=[])
      +class neasqc_qrbs.qrbs.InferenceEngine(rules=None, islands=None)

      Bases: object

      Class representing an Inference Engine.

      An Inference Engine is an element of a Rule-Based System that manages its rules and knowledge islands, providing the tools to evaluate them in order.

      @@ -882,30 +882,32 @@

      Submodules
      -static evaluate(qrbs, islands=[], model='cf') bool
      +static evaluate(qrbs, eval_islands=None, model='cf') bool

      Evaluates whether a QRBS can be executed on this QPU.

      Parameters:
      • qrbs (QRBS) – The QRBS to be evaluated.

      • eval_islands (List[KnowledgeIsland], optional) – A list of specific KnowledgeIsland to be evaluated.

      • +
      • model (str, optional) – The code of the model indicated.

      Raises:
      -

      ValueError – In case an specified knowledge island is not part of the QRBS or an evaluated knowledge island requires more qubits than supported.

      +

      ValueError – In case a specified knowledge island is not part of the QRBS or an evaluated knowledge island requires more qubits than supported.

      -static execute(qrbs, islands=[], model='cf') None
      +static execute(qrbs, islands=None, model='cf') None

      Executes the QRBS on this QPU.

      Parameters:
      • qrbs (QRBS) – The QRBS to be executed.

      • islands (List[KnowledgeIsland], optional) – A list of specific KnowledgeIsland to be executed.

      • +
      • model (str, optional) – The code of the model indicated.

      @@ -1066,7 +1068,7 @@

      Submodules
      -class neasqc_qrbs.qrbs.WorkingMemory(facts=[])
      +class neasqc_qrbs.qrbs.WorkingMemory(facts=None)

      Bases: object

      Class representing a Working Memory.

      A Working Memory is an element of a Rule-Based System that manages its facts, keeping trace of their state.

      diff --git a/qrbs/objects.inv b/qrbs/objects.inv index 3d4e036b0924327339fc99498440d2fe31215aad..18d08ad63826e09634507e313245743d1ca29b7d 100644 GIT binary patch delta 1913 zcmV-<2Zs3Q59|++h<}^Qa+^pLhWCC7sxn(hyv@$e#1+>>i7ibkla&fV+hWW`ZeSAf z^aIUBO@pA%Wf4~_{`2!S99rGxoK*PvYp{Qnhuk?;?~^PnW8u7W((~uuu}I=K?Gg76 z$Gy^zy`E*qeEE;nyHMQk36oo%~<_Ief{y*Zt$RAIb|gz6-IP7aqp)bIGx#(9~69U zQ696>r5Ph!`z-Nz$+FEZqT8)siJYDo%EtS!{lW3z^md%draLlaoNmdMcDgA~?&*#! z38)(~W#L`<`+s*u&q8Ixnl`#4Q`+d3Y-yvL@}!OK$dWd?AyeAiC#RU6HI0k6;hDIU z7iR)$hD`aVIkKgn=E;+NnjuT_X@1n)yX$TPGU=Ld@0@6~tW##><)LypNfAVOl%wgQ3|_da|T|waL7^Pn7ZL+ z&snc}RDboYM=flY{NQVbSvM&PS${k7;q`_{zD@NQCyx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