|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthsr.smart.HSRAvatarSmart
public class HSRAvatarSmart
Representation of HSRAvatar
Constructor Summary | |
---|---|
HSRAvatarSmart()
Construct a(n) HSRAvatar Instance |
|
HSRAvatarSmart(scg.Config cfg)
Constructor to be called during registration where you supply config |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
Is the given object Equal to this HSRAvatar? |
edu.neu.ccs.demeterf.lib.List<scg.OpposeAction> |
oppose(edu.neu.ccs.demeterf.lib.List<scg.Claim> claimsToBeOpposed)
Random oppose method - randomly agrees, refutes or strengthens by a factor of 1 |
edu.neu.ccs.demeterf.lib.List<scg.Claim> |
propose(edu.neu.ccs.demeterf.lib.List<scg.Claim> forbiddenClaims)
DataType: Instance Instance is a, (int, int) - (n, k) |
scg.InstanceI |
provide(scg.Claim claimToBeProvided)
providing instance - in HSR this is trivial as the instanceSet is singleton |
scg.SolutionI |
solve(scg.SolveRequest solveRequest)
|
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HSRAvatarSmart()
public HSRAvatarSmart(scg.Config cfg)
Method Detail |
---|
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public edu.neu.ccs.demeterf.lib.List<scg.Claim> propose(edu.neu.ccs.demeterf.lib.List<scg.Claim> forbiddenClaims)
propose
in interface scg.AvatarI
public edu.neu.ccs.demeterf.lib.List<scg.OpposeAction> oppose(edu.neu.ccs.demeterf.lib.List<scg.Claim> claimsToBeOpposed)
oppose
in interface scg.AvatarI
public scg.InstanceI provide(scg.Claim claimToBeProvided)
provide
in interface scg.AvatarI
public scg.SolutionI solve(scg.SolveRequest solveRequest)
solve
in interface scg.AvatarI
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |