Skip to content

Commit

Permalink
Merge pull request #196 from e-cal/document-techniques
Browse files Browse the repository at this point in the history
Publicise extraction techniques' docs
  • Loading branch information
haz authored Jun 13, 2023
2 parents 3ba477d + 38d481d commit 64b8ac4
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 3 deletions.
5 changes: 5 additions & 0 deletions docs/templates/extract/extract.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ _Note: debugging output and interfaces are unique to each method._
- [SLAF](#slaf)
- [ARMS](#arms)
- [AMDN](#amdn)
- [LOCM](#locm)

.. include:: ../../../docs/templates/extract/observer.md

Expand All @@ -34,4 +35,8 @@ _Note: debugging output and interfaces are unique to each method._

---

.. include:: ../../../docs/templates/extract/locm.md

---

# API Documentation
1 change: 1 addition & 0 deletions docs/templates/extract/locm.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# LOCM
1 change: 1 addition & 0 deletions docs/templates/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@
- [SLAF](macq/extract.html#slaf)
- [ARMS](macq/extract.html#arms)
- [AMDN](macq/extract.html#amdn)
- [LOCM](macq/extract.html#locm)

# API Documentation
10 changes: 10 additions & 0 deletions macq/extract/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
from .extract import Extract, modes
from .exceptions import IncompatibleObservationToken
from .model import Model
from .amdn import AMDN
from .arms import ARMS
from .locm import LOCM
from .slaf import SLAF
from .observer import Observer

__all__ = [
"LearnedAction",
Expand All @@ -17,4 +22,9 @@
"Extract",
"modes",
"IncompatibleObservationToken",
"ARMS",
"AMDN",
"LOCM",
"SLAF",
"Observer",
]
6 changes: 3 additions & 3 deletions macq/extract/extract.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@

from ..observation import ObservedTraceList
from ..trace import Action, State
from .model import Model

from .amdn import AMDN
from .arms import ARMS
from .locm import LOCM
from .model import Model
from .observer import Observer
from .slaf import SLAF

from .observer import Observer

@dataclass
class SAS:
Expand Down

0 comments on commit 64b8ac4

Please sign in to comment.