|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.argkit.dung.InformalArgumentSource
public class InformalArgumentSource
A source of defeating arguments that consist of a String claim implemented for testing and demonstration purposes. The immutable argument network is defined during construction with a single String parameter. This parameter is expected to consist of lines of argument claims. Each line includes at least one argument claim. If more than one argument is included on a line, space delimited, then the first argument is the target of all subsequent argument's attacks. If you wish to include a space in your claim, then you can use double quotes to enclose your claim.
for example:
a b cwould create an argument source with three arguments, whose claims were "a", "b" and "c" and where "a" was attacked by "b".
similarly,
"you are wrong" "i am right"would create an argument source with two arguments, whose cliams were "i am right" and "you are wrong" and where the first argument attacked the second.
| Constructor Summary | |
|---|---|
InformalArgumentSource(java.lang.String network)
|
|
| Method Summary | |
|---|---|
java.util.Collection<? extends Argument<java.lang.String>> |
getAllArguments()
Yield all arguments from a particular argument source. |
java.util.Collection<? extends Argument<java.lang.String>> |
getArguments(java.lang.String claim)
Yield all arguments with a particular claim expression. |
java.util.Collection<? extends Argument<java.lang.String>> |
getDefeaters(Argument<java.lang.String> argument)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InformalArgumentSource(java.lang.String network)
| Method Detail |
|---|
public java.util.Collection<? extends Argument<java.lang.String>> getAllArguments()
ArgumentSource
getAllArguments in interface ArgumentSource<java.lang.String>public java.util.Collection<? extends Argument<java.lang.String>> getArguments(java.lang.String claim)
ArgumentSource
getArguments in interface ArgumentSource<java.lang.String>claim - argument's claim
public java.util.Collection<? extends Argument<java.lang.String>> getDefeaters(Argument<java.lang.String> argument)
getDefeaters in interface DefeatSource<java.lang.String>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||