Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
AbstractArgumentationSolver
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Odekerken, D. (Daphne)
AbstractArgumentationSolver
Commits
3df93c12
Commit
3df93c12
authored
4 years ago
by
Odekerken, D. (Daphne)
Browse files
Options
Downloads
Patches
Plain Diff
Added example use to README.md
parent
70cac73a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+16
-1
16 additions, 1 deletion
README.md
with
16 additions
and
1 deletion
README.md
+
16
−
1
View file @
3df93c12
# Abstract Argumentation Solver
This is a solver for abstract argumentation.
It currently only labels arguments by grounded semantics.
\ No newline at end of file
It currently only labels arguments by grounded semantics.
## Example use
```
python
from
abstract_argumentation_solver.cls.label
import
Label
from
abstract_argumentation_solver.import_export.read_argumentation_framework_aspartix
import
read_argumentation_framework_aspartix
from
abstract_argumentation_solver.import_export.write_extension
import
write_extension
from
abstract_argumentation_solver.labeling.grounded_extension_labeler
import
GroundedExtensionLabeler
af
=
read_argumentation_framework_aspartix
(
'
example_af.apx
'
)
labeler
=
GroundedExtensionLabeler
()
labels
=
labeler
.
get_labels
(
af
)
grounded_extension
=
labeler
.
get_extension
(
af
)
write_extension
(
grounded_extension
,
'
result_path.txt
'
)
```
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment