-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
58 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,3 @@ | ||
# AMDN | ||
### AMDN | ||
|
||
## Usage | ||
|
||
```python | ||
from macq import generate, extract | ||
|
||
print(model.details()) | ||
``` | ||
|
||
**Output:** | ||
|
||
```text | ||
``` | ||
Coming soon... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# ARMS | ||
### ARMS | ||
|
||
## Usage | ||
#### Usage | ||
|
||
```python | ||
from macq import generate, extract | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
# LOCM | ||
### LOCM | ||
|
||
Coming soon... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Observer | ||
### Observer | ||
|
||
## Usage | ||
#### Usage | ||
|
||
```python | ||
from macq import generate, extract | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# SLAF | ||
### SLAF | ||
|
||
## Usage | ||
#### Usage | ||
|
||
```python | ||
from macq import generate, extract | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,37 @@ | ||
# Usage Documentation | ||
# General API | ||
|
||
## Trace Generation | ||
|
||
- [VanillaSampling](macq/generate/pddl.html#VanillaSampling) | ||
- [RandomGoalSampling](macq/generate/pddl.html#RandomGoalSampling) | ||
- [FDRandomWalkSampling](macq/generate/pddl.html#FDRandomWalkSampling) | ||
These are the various methods implemented to generate the base trace data. | ||
|
||
| Algorithm | Description | | ||
|---|---| | ||
| [VanillaSampling](macq/generate/pddl.html#VanillaSampling) | Samples actions uniformly at random | | ||
| [RandomGoalSampling](macq/generate/pddl.html#RandomGoalSampling) | Samples goals by taking a random subset of a state reached after a random walk | | ||
| [FDRandomWalkSampling](macq/generate/pddl.html#FDRandomWalkSampling) | Random walk based on a heuristic-driven depth calculation (algorithm introduced in the [FD planning system](https://www.fast-downward.org/)) | | ||
| [TraceFromGoal](macq/generate/pddl.html#TraceFromGoal) | Generates a trace from a given domain/problem (with a goal state) | | ||
| [CSV](macq/generate/csv.html) | Reads a CSV file to generate a trace | | ||
|
||
## Tokenization | ||
|
||
- [IdentityObservation](macq/observation.html#IdentityObservation) | ||
- [AtomicPartialObservation](macq/observation.html#AtomicPartialObservation) | ||
Once trace data is loaded, you can process the traces to produce lists of observations. The methods range from the identity observation (constaining the same data as original traces) to noisy and/or partially observable observations. | ||
|
||
| Algorithm | Description | | ||
|---|---| | ||
| [IdentityObservation](macq/observation.html#IdentityObservation) | Unmodified versions of the input traces | | ||
| [PartialObservation](macq/observation.html#PartialObservation) | Observations with a subset of the fluents hidden in the states | | ||
| [AtomicPartialObservation](macq/observation.html#AtomicPartialObservation) | Similar to `PartialObservation`, except everything is stored as atomic strings (not fluents and parameters) | | ||
| [ActionObservation](macq/observation.html#ActionObservation) | Observations with only the actions listed (i.e., states discarded) | | ||
| [NoisyObservation](macq/observation.html#NoisyObservation) | Observations with added noise to the fluents | | ||
| [NoisyPartialObservation](macq/observation.html#NoisyPartialObservation) | Observations with added noise to the fluents and a subset of the fluents hidden in the states | | ||
| [NoisyPartialDisorderedParallelObservation](macq/observation.html#NoisyPartialDisorderedParallelObservation) | Observations with added noise to the fluents and a subset of the fluents hidden in the states, with the actions disordered and parallelized | | ||
|
||
## Extraction Techniques | ||
|
||
Depending on the observation type, different extraction techniques can be used to extract the relevant information from the observations. These are currently the techniques implemented: | ||
|
||
- [Observer](macq/extract.html#observer) | ||
- [SLAF](macq/extract.html#slaf) | ||
- [ARMS](macq/extract.html#arms) | ||
- [AMDN](macq/extract.html#amdn) | ||
- [LOCM](macq/extract.html#locm) | ||
|
||
# API Documentation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
""" | ||
.. include:: ../README.md | ||
---- | ||
.. include:: ../docs/index.md | ||
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
from . import pddl | ||
from .plan import Plan | ||
import csv | ||
|
||
__all__ = ["pddl", "Plan"] | ||
__all__ = ["pddl", "Plan", "csv"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters