From ab8e8aa80ad2fa0671fa907c851fbd5d3fafebd4 Mon Sep 17 00:00:00 2001 From: crowdosNWPU <154038066+crowdosNWPU@users.noreply.github.com> Date: Mon, 25 Dec 2023 21:45:44 +0800 Subject: [PATCH] Add files via upload --- .../Incentive/CredibilityBasedIncentive.html | 358 +++++++ .../CredibilityBasedIncentiveImpl.html | 483 +++++++++ .../class-use/CredibilityBasedIncentive.html | 185 ++++ .../CredibilityBasedIncentiveImpl.html | 126 +++ .../kernel/Incentive/package-frame.html | 25 + .../kernel/Incentive/package-summary.html | 163 +++ .../kernel/Incentive/package-tree.html | 147 +++ .../crowdos/kernel/Incentive/package-use.html | 161 +++ .../kernel/resource/AbstractParticipant.html | 439 ++++++++ .../crowdos/kernel/resource/AbstractTask.html | 562 ++++++++++ .../Participant.ParticipantStatus.html | 359 +++++++ .../crowdos/kernel/resource/Participant.html | 337 ++++++ .../kernel/resource/SimpleParticipant.html | 360 +++++++ .../crowdos/kernel/resource/SimpleTask.html | 333 ++++++ .../resource/Task.TaskDistributionType.html | 347 +++++++ .../kernel/resource/Task.TaskStatus.html | 359 +++++++ .../cn/crowdos/kernel/resource/Task.html | 391 +++++++ .../cn/crowdos/kernel/resource/ability.html | 167 +++ .../class-use/AbstractParticipant.html | 166 +++ .../resource/class-use/AbstractTask.html | 166 +++ .../Participant.ParticipantStatus.html | 254 +++++ .../resource/class-use/Participant.html | 957 ++++++++++++++++++ .../resource/class-use/SimpleParticipant.html | 126 +++ .../kernel/resource/class-use/SimpleTask.html | 126 +++ .../class-use/Task.TaskDistributionType.html | 249 +++++ .../resource/class-use/Task.TaskStatus.html | 254 +++++ .../kernel/resource/class-use/Task.html | 705 +++++++++++++ .../kernel/resource/class-use/ability.html | 126 +++ .../kernel/resource/package-frame.html | 39 + .../kernel/resource/package-summary.html | 213 ++++ .../crowdos/kernel/resource/package-tree.html | 175 ++++ .../crowdos/kernel/resource/package-use.html | 284 ++++++ .../DuplicateResourceNameException.html | 264 +++++ .../system/SystemResourceCollection.html | 326 ++++++ .../kernel/system/SystemResourceHandler.html | 236 +++++ .../DuplicateResourceNameException.html | 180 ++++ .../class-use/SystemResourceCollection.html | 260 +++++ .../class-use/SystemResourceHandler.html | 304 ++++++ .../crowdos/kernel/system/package-frame.html | 29 + .../kernel/system/package-summary.html | 174 ++++ .../crowdos/kernel/system/package-tree.html | 152 +++ .../cn/crowdos/kernel/system/package-use.html | 241 +++++ .../kernel/system/resource/AlgoContainer.html | 303 ++++++ .../kernel/system/resource/Mission.html | 419 ++++++++ .../system/resource/MissionHistory.html | 401 ++++++++ .../resource/MissionUpdateException.html | 264 +++++ .../system/resource/ParticipantPool.html | 377 +++++++ .../kernel/system/resource/Resource.html | 231 +++++ .../system/resource/ResourceContainer.html | 324 ++++++ .../kernel/system/resource/TaskPool.html | 377 +++++++ .../resource/class-use/AlgoContainer.html | 126 +++ .../system/resource/class-use/Mission.html | 210 ++++ .../resource/class-use/MissionHistory.html | 176 ++++ .../class-use/MissionUpdateException.html | 188 ++++ .../resource/class-use/ParticipantPool.html | 170 ++++ .../system/resource/class-use/Resource.html | 308 ++++++ .../resource/class-use/ResourceContainer.html | 166 +++ .../system/resource/class-use/TaskPool.html | 170 ++++ .../kernel/system/resource/package-frame.html | 34 + .../system/resource/package-summary.html | 199 ++++ .../kernel/system/resource/package-tree.html | 176 ++++ .../kernel/system/resource/package-use.html | 239 +++++ 62 files changed, 16166 insertions(+) create mode 100644 target/staging/apidocs/cn/crowdos/kernel/Incentive/CredibilityBasedIncentive.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/Incentive/CredibilityBasedIncentiveImpl.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/Incentive/class-use/CredibilityBasedIncentive.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/Incentive/class-use/CredibilityBasedIncentiveImpl.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/Incentive/package-frame.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/Incentive/package-summary.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/Incentive/package-tree.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/Incentive/package-use.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/resource/AbstractParticipant.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/resource/AbstractTask.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/resource/Participant.ParticipantStatus.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/resource/Participant.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/resource/SimpleParticipant.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/resource/SimpleTask.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/resource/Task.TaskDistributionType.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/resource/Task.TaskStatus.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/resource/Task.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/resource/ability.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/resource/class-use/AbstractParticipant.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/resource/class-use/AbstractTask.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/resource/class-use/Participant.ParticipantStatus.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/resource/class-use/Participant.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/resource/class-use/SimpleParticipant.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/resource/class-use/SimpleTask.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/resource/class-use/Task.TaskDistributionType.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/resource/class-use/Task.TaskStatus.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/resource/class-use/Task.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/resource/class-use/ability.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/resource/package-frame.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/resource/package-summary.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/resource/package-tree.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/resource/package-use.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/system/DuplicateResourceNameException.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/system/SystemResourceCollection.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/system/SystemResourceHandler.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/system/class-use/DuplicateResourceNameException.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/system/class-use/SystemResourceCollection.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/system/class-use/SystemResourceHandler.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/system/package-frame.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/system/package-summary.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/system/package-tree.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/system/package-use.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/system/resource/AlgoContainer.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/system/resource/Mission.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/system/resource/MissionHistory.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/system/resource/MissionUpdateException.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/system/resource/ParticipantPool.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/system/resource/Resource.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/system/resource/ResourceContainer.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/system/resource/TaskPool.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/system/resource/class-use/AlgoContainer.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/system/resource/class-use/Mission.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/system/resource/class-use/MissionHistory.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/system/resource/class-use/MissionUpdateException.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/system/resource/class-use/ParticipantPool.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/system/resource/class-use/Resource.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/system/resource/class-use/ResourceContainer.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/system/resource/class-use/TaskPool.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/system/resource/package-frame.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/system/resource/package-summary.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/system/resource/package-tree.html create mode 100644 target/staging/apidocs/cn/crowdos/kernel/system/resource/package-use.html diff --git a/target/staging/apidocs/cn/crowdos/kernel/Incentive/CredibilityBasedIncentive.html b/target/staging/apidocs/cn/crowdos/kernel/Incentive/CredibilityBasedIncentive.html new file mode 100644 index 0000000..5e71227 --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/Incentive/CredibilityBasedIncentive.html @@ -0,0 +1,358 @@ + + + +
+ + +public interface CredibilityBasedIncentive +extends Resource<CredibilityBasedIncentive>+
This interface defines an incentive-based approach to trustworthiness.
+ It extends the Resource<CredibilityBasedIncentive> interface and defines the following methods:
allocateRewards(double rewards, Task task, Participant firstParticipant, List<Participant> participants): allocates rewards to the participants.The interface is mainly used to motivate participants to complete specific tasks efficiently and to + distribute rewards by reputation, with a little reward to other participants in the trust chain.
| Modifier and Type | +Method and Description | +
|---|---|
void |
+addCredibility(Participant participant) |
+
void |
+allocateRewards(double rewards,
+ Task task,
+ Participant firstParticipant,
+ List<Participant> participants) |
+
int |
+getCredibility(Participant participant) |
+
List<Participant> |
+getTrustedParticipants() |
+
Map<Participant,Double> |
+IncentiveAssignment() |
+
boolean |
+isTrustedParticipant(Participant participant) |
+
void |
+penalizeCredibility(Participant participant) |
+
void |
+removeTrustedParticipant(Participant participant) |
+
getHandlerMap<Participant,Double> IncentiveAssignment()+
void addCredibility(Participant participant)+
void penalizeCredibility(Participant participant)+
int getCredibility(Participant participant)+
void allocateRewards(double rewards, + Task task, + Participant firstParticipant, + List<Participant> participants)+
void removeTrustedParticipant(Participant participant)+
boolean isTrustedParticipant(Participant participant)+
List<Participant> getTrustedParticipants()+
Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/Incentive/CredibilityBasedIncentiveImpl.html b/target/staging/apidocs/cn/crowdos/kernel/Incentive/CredibilityBasedIncentiveImpl.html new file mode 100644 index 0000000..ba1b7f0 --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/Incentive/CredibilityBasedIncentiveImpl.html @@ -0,0 +1,483 @@ + + + + + + +public class CredibilityBasedIncentiveImpl +extends Object +implements CredibilityBasedIncentive+
| Constructor and Description | +
|---|
CredibilityBasedIncentiveImpl()
+The CredibilityBasedIncentiveImpl function is a constructor for the CredibilityBasedIncentiveImpl class.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+addCredibility(Participant participant)
+The addCredibility function add one to the credibility of the participant in trustValues.
+ |
+
void |
+allocateRewards(double rewards,
+ Task task,
+ Participant firstParticipant,
+ List<Participant> participants)
+The allocateRewards function This method distributes rewards for task completer with others in the chain of trust.
+ |
+
int |
+getCredibility(Participant participant)
+The getCredibility function query the credibility value of the specified participant in trustValues.
+ |
+
SystemResourceHandler<CredibilityBasedIncentive> |
+getHandler() |
+
List<Participant> |
+getTrustedParticipants()
+The getTrustedParticipants function returns a list of participants who in the trust chain.
+ |
+
Map<Participant,Double> |
+IncentiveAssignment()
+The IncentiveAssignment function returns the incentive scheme assigned to the task.
+ |
+
boolean |
+isTrustedParticipant(Participant participant)
+The isTrustedParticipant function determines whether a particular participant is in the trust chain or not.
+ |
+
void |
+penalizeCredibility(Participant participant)
+The penalizeCredibility function reduce one to the credibility of the participant in trustValues.
+ |
+
void |
+removeTrustedParticipant(Participant participant)
+The removeTrustedParticipant function removes a participant from the trust chain.
+ |
+
public CredibilityBasedIncentiveImpl()+
public void addCredibility(Participant participant)+
addCredibility in interface CredibilityBasedIncentiveparticipant - Determine which participant is being updatedpublic void penalizeCredibility(Participant participant)+
penalizeCredibility in interface CredibilityBasedIncentiveparticipant - Determine which participant is being updatedpublic int getCredibility(Participant participant)+
getCredibility in interface CredibilityBasedIncentiveparticipant - Determine which participant is being updatedpublic void allocateRewards(double rewards, + Task task, + Participant firstParticipant, + List<Participant> participants)+
allocateRewards in interface CredibilityBasedIncentiverewards - The total remuneration for this tasktask - Determine which task is being performedfirstParticipant - Determine who the first finisher of the task is beingparticipants - Determine who is in the chain of trustspublic Map<Participant,Double> IncentiveAssignment()+
IncentiveAssignment in interface CredibilityBasedIncentivepublic void removeTrustedParticipant(Participant participant)+
removeTrustedParticipant in interface CredibilityBasedIncentiveparticipant - Determine which participant is being updatedpublic boolean isTrustedParticipant(Participant participant)+
isTrustedParticipant in interface CredibilityBasedIncentiveparticipant - Determine which participant is being judgedpublic List<Participant> getTrustedParticipants()+
getTrustedParticipants in interface CredibilityBasedIncentivepublic SystemResourceHandler<CredibilityBasedIncentive> getHandler()+
getHandler in interface Resource<CredibilityBasedIncentive>Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/Incentive/class-use/CredibilityBasedIncentive.html b/target/staging/apidocs/cn/crowdos/kernel/Incentive/class-use/CredibilityBasedIncentive.html new file mode 100644 index 0000000..6952297 --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/Incentive/class-use/CredibilityBasedIncentive.html @@ -0,0 +1,185 @@ + + + + + + +| Package | +Description | +
|---|---|
| cn.crowdos.kernel.Incentive | ++ |
| Modifier and Type | +Class and Description | +
|---|---|
class |
+CredibilityBasedIncentiveImpl
+CredibilityBasedIncentiveImpl is a concrete implementation of a credibility-based incentive.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
SystemResourceHandler<CredibilityBasedIncentive> |
+CredibilityBasedIncentiveImpl.getHandler() |
+
SystemResourceHandler<CredibilityBasedIncentive> |
+CredibilityBasedIncentiveImpl.getHandler() |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/Incentive/class-use/CredibilityBasedIncentiveImpl.html b/target/staging/apidocs/cn/crowdos/kernel/Incentive/class-use/CredibilityBasedIncentiveImpl.html new file mode 100644 index 0000000..939df90 --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/Incentive/class-use/CredibilityBasedIncentiveImpl.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/Incentive/package-frame.html b/target/staging/apidocs/cn/crowdos/kernel/Incentive/package-frame.html new file mode 100644 index 0000000..f0f5af1 --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/Incentive/package-frame.html @@ -0,0 +1,25 @@ + + + + + + +| Interface | +Description | +
|---|---|
| CredibilityBasedIncentive | +
+ This interface defines an incentive-based approach to trustworthiness.
+ |
+
| Class | +Description | +
|---|---|
| CredibilityBasedIncentiveImpl | +
+ CredibilityBasedIncentiveImpl is a concrete implementation of a credibility-based incentive.
+ |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/Incentive/package-tree.html b/target/staging/apidocs/cn/crowdos/kernel/Incentive/package-tree.html new file mode 100644 index 0000000..8191675 --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/Incentive/package-tree.html @@ -0,0 +1,147 @@ + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/Incentive/package-use.html b/target/staging/apidocs/cn/crowdos/kernel/Incentive/package-use.html new file mode 100644 index 0000000..14cbc8e --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/Incentive/package-use.html @@ -0,0 +1,161 @@ + + + + + + +| Package | +Description | +
|---|---|
| cn.crowdos.kernel.Incentive | ++ |
| Class and Description | +
|---|
| CredibilityBasedIncentive
+ This interface defines an incentive-based approach to trustworthiness.
+ |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/resource/AbstractParticipant.html b/target/staging/apidocs/cn/crowdos/kernel/resource/AbstractParticipant.html new file mode 100644 index 0000000..dea7332 --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/resource/AbstractParticipant.html @@ -0,0 +1,439 @@ + + + + + + +public abstract class AbstractParticipant +extends Object +implements Participant+
Participant.ParticipantStatus| Modifier and Type | +Field and Description | +
|---|---|
protected Participant.ParticipantStatus |
+status |
+
| Constructor and Description | +
|---|
AbstractParticipant() |
+
| Modifier and Type | +Method and Description | +
|---|---|
boolean |
+available()
+Returns true if the next token is a number.
+ |
+
abstract Condition |
+getAbility(Class<? extends Condition> conditionClass)
+Get the ability of the given class.
+ |
+
Participant.ParticipantStatus |
+getStatus()
+Returns the status of the participant
+ |
+
abstract boolean |
+hasAbility(Class<? extends Condition> conditionClass)
+Returns true if the given condition is present in the list of conditions.
+ |
+
void |
+setStatus(Participant.ParticipantStatus status)
+Sets the status of the participant
+ |
+
protected Participant.ParticipantStatus status+
public Participant.ParticipantStatus getStatus()+
ParticipantgetStatus in interface Participantpublic void setStatus(Participant.ParticipantStatus status)+
ParticipantsetStatus in interface Participantstatus - The status of the participant.public abstract boolean hasAbility(Class<? extends Condition> conditionClass)+
ParticipanthasAbility in interface ParticipantconditionClass - The class of the condition to check for.public abstract Condition getAbility(Class<? extends Condition> conditionClass)+
ParticipantgetAbility in interface ParticipantconditionClass - The class of the condition you want to get.public boolean available()+
Participantavailable in interface ParticipantCopyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/resource/AbstractTask.html b/target/staging/apidocs/cn/crowdos/kernel/resource/AbstractTask.html new file mode 100644 index 0000000..d74e5f4 --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/resource/AbstractTask.html @@ -0,0 +1,562 @@ + + + + + + +public abstract class AbstractTask +extends Object +implements Task+
Task.TaskDistributionType, Task.TaskStatus| Modifier and Type | +Field and Description | +
|---|---|
protected List<Constraint> |
+constraints |
+
protected Task.TaskStatus |
+status |
+
protected Task.TaskDistributionType |
+taskDistributionType |
+
protected long |
+taskId |
+
| Modifier | +Constructor and Description | +
|---|---|
protected |
+AbstractTask(List<Constraint> constraints,
+ Task.TaskDistributionType taskDistributionType) |
+
| Modifier and Type | +Method and Description | +
|---|---|
boolean |
+assignable()
+Returns true if the type is assignable to the type of the given object.
+ |
+
boolean |
+canAssignTo(Participant participant)
+Returns true if the given participant can be assigned to this role.
+ |
+
List<Constraint> |
+constraints()
+Returns a list of constraints that are applied to the field.
+ |
+
abstract Decomposer<Task> |
+decomposer()
+Return a decomposer over elements of type
+T. |
+
boolean |
+finished()
+Returns true if the game is over, false otherwise.
+ |
+
Task.TaskDistributionType |
+getTaskDistributionType()
+Returns the type of task distribution used in the simulation
+ |
+
long |
+getTaskId() |
+
Task.TaskStatus |
+getTaskStatus()
+Returns the status of the task.
+ |
+
void |
+setTaskStatus(Task.TaskStatus status)
+Sets the status of the task to the given status.
+ |
+
protected final long taskId+
protected final List<Constraint> constraints+
protected final Task.TaskDistributionType taskDistributionType+
protected Task.TaskStatus status+
protected AbstractTask(List<Constraint> constraints, + Task.TaskDistributionType taskDistributionType)+
public abstract Decomposer<Task> decomposer()+
DecomposableT.decomposer in interface Decomposable<Task>public long getTaskId()+
public Task.TaskDistributionType getTaskDistributionType()+
TaskgetTaskDistributionType in interface Taskpublic Task.TaskStatus getTaskStatus()+
TaskgetTaskStatus in interface Taskpublic void setTaskStatus(Task.TaskStatus status)+
TasksetTaskStatus in interface Taskstatus - The status of the task.public List<Constraint> constraints()+
Taskconstraints in interface Taskpublic boolean canAssignTo(Participant participant)+
TaskcanAssignTo in interface Taskparticipant - The participant to assign the task to.public boolean assignable()+
Taskassignable in interface TaskCopyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/resource/Participant.ParticipantStatus.html b/target/staging/apidocs/cn/crowdos/kernel/resource/Participant.ParticipantStatus.html new file mode 100644 index 0000000..cac4341 --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/resource/Participant.ParticipantStatus.html @@ -0,0 +1,359 @@ + + + + + + +public static enum Participant.ParticipantStatus +extends Enum<Participant.ParticipantStatus>+
| Enum Constant and Description | +
|---|
AVAILABLE |
+
BUSY |
+
DISABLED |
+
| Modifier and Type | +Method and Description | +
|---|---|
static Participant.ParticipantStatus |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static Participant.ParticipantStatus[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final Participant.ParticipantStatus AVAILABLE+
public static final Participant.ParticipantStatus BUSY+
public static final Participant.ParticipantStatus DISABLED+
public static Participant.ParticipantStatus[] values()+
+for (Participant.ParticipantStatus c : Participant.ParticipantStatus.values()) + System.out.println(c); +
public static Participant.ParticipantStatus valueOf(String name)+
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/resource/Participant.html b/target/staging/apidocs/cn/crowdos/kernel/resource/Participant.html new file mode 100644 index 0000000..53e1739 --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/resource/Participant.html @@ -0,0 +1,337 @@ + + + + + + +public interface Participant
+| Modifier and Type | +Interface and Description | +
|---|---|
static class |
+Participant.ParticipantStatus |
+
| Modifier and Type | +Method and Description | +
|---|---|
boolean |
+available()
+Returns true if the next token is a number.
+ |
+
Condition |
+getAbility(Class<? extends Condition> conditionClass)
+Get the ability of the given class.
+ |
+
Participant.ParticipantStatus |
+getStatus()
+Returns the status of the participant
+ |
+
boolean |
+hasAbility(Class<? extends Condition> conditionClass)
+Returns true if the given condition is present in the list of conditions.
+ |
+
void |
+setStatus(Participant.ParticipantStatus status)
+Sets the status of the participant
+ |
+
Participant.ParticipantStatus getStatus()+
void setStatus(Participant.ParticipantStatus status)+
status - The status of the participant.boolean hasAbility(Class<? extends Condition> conditionClass)+
conditionClass - The class of the condition to check for.Condition getAbility(Class<? extends Condition> conditionClass)+
conditionClass - The class of the condition you want to get.boolean available()+
Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/resource/SimpleParticipant.html b/target/staging/apidocs/cn/crowdos/kernel/resource/SimpleParticipant.html new file mode 100644 index 0000000..80e43fb --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/resource/SimpleParticipant.html @@ -0,0 +1,360 @@ + + + + + + +public class SimpleParticipant +extends AbstractParticipant+
Participant.ParticipantStatusstatus| Constructor and Description | +
|---|
SimpleParticipant() |
+
| Modifier and Type | +Method and Description | +
|---|---|
Condition |
+getAbility(Class<? extends Condition> conditionClass)
+Get the ability of the given class.
+ |
+
boolean |
+hasAbility(Class<? extends Condition> conditionClass)
+Returns true if the given condition is present in the list of conditions.
+ |
+
available, getStatus, setStatuspublic boolean hasAbility(Class<? extends Condition> conditionClass)+
ParticipanthasAbility in interface ParticipanthasAbility in class AbstractParticipantconditionClass - The class of the condition to check for.public Condition getAbility(Class<? extends Condition> conditionClass)+
ParticipantgetAbility in interface ParticipantgetAbility in class AbstractParticipantconditionClass - The class of the condition you want to get.Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/resource/SimpleTask.html b/target/staging/apidocs/cn/crowdos/kernel/resource/SimpleTask.html new file mode 100644 index 0000000..5882cec --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/resource/SimpleTask.html @@ -0,0 +1,333 @@ + + + + + + +public class SimpleTask +extends AbstractTask+
Task.TaskDistributionType, Task.TaskStatusconstraints, status, taskDistributionType, taskId| Constructor and Description | +
|---|
SimpleTask(List<Constraint> constraints,
+ Task.TaskDistributionType taskDistributionType) |
+
| Modifier and Type | +Method and Description | +
|---|---|
Decomposer<Task> |
+decomposer()
+Return a decomposer over elements of type
+T. |
+
assignable, canAssignTo, constraints, finished, getTaskDistributionType, getTaskId, getTaskStatus, setTaskStatuspublic SimpleTask(List<Constraint> constraints, + Task.TaskDistributionType taskDistributionType)+
public Decomposer<Task> decomposer()+
DecomposableT.decomposer in interface Decomposable<Task>decomposer in class AbstractTaskCopyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/resource/Task.TaskDistributionType.html b/target/staging/apidocs/cn/crowdos/kernel/resource/Task.TaskDistributionType.html new file mode 100644 index 0000000..c65c2c4 --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/resource/Task.TaskDistributionType.html @@ -0,0 +1,347 @@ + + + + + + +public static enum Task.TaskDistributionType +extends Enum<Task.TaskDistributionType>+
| Enum Constant and Description | +
|---|
ASSIGNMENT |
+
RECOMMENDATION |
+
| Modifier and Type | +Method and Description | +
|---|---|
static Task.TaskDistributionType |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static Task.TaskDistributionType[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final Task.TaskDistributionType ASSIGNMENT+
public static final Task.TaskDistributionType RECOMMENDATION+
public static Task.TaskDistributionType[] values()+
+for (Task.TaskDistributionType c : Task.TaskDistributionType.values()) + System.out.println(c); +
public static Task.TaskDistributionType valueOf(String name)+
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/resource/Task.TaskStatus.html b/target/staging/apidocs/cn/crowdos/kernel/resource/Task.TaskStatus.html new file mode 100644 index 0000000..abf9a20 --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/resource/Task.TaskStatus.html @@ -0,0 +1,359 @@ + + + + + + +public static enum Task.TaskStatus +extends Enum<Task.TaskStatus>+
| Enum Constant and Description | +
|---|
FINISHED |
+
IN_PROGRESS |
+
READY |
+
| Modifier and Type | +Method and Description | +
|---|---|
static Task.TaskStatus |
+valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static Task.TaskStatus[] |
+values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
public static final Task.TaskStatus READY+
public static final Task.TaskStatus IN_PROGRESS+
public static final Task.TaskStatus FINISHED+
public static Task.TaskStatus[] values()+
+for (Task.TaskStatus c : Task.TaskStatus.values()) + System.out.println(c); +
public static Task.TaskStatus valueOf(String name)+
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/resource/Task.html b/target/staging/apidocs/cn/crowdos/kernel/resource/Task.html new file mode 100644 index 0000000..b8a4574 --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/resource/Task.html @@ -0,0 +1,391 @@ + + + + + + +public interface Task +extends Decomposable<Task>+
| Modifier and Type | +Interface and Description | +
|---|---|
static class |
+Task.TaskDistributionType |
+
static class |
+Task.TaskStatus |
+
| Modifier and Type | +Method and Description | +
|---|---|
boolean |
+assignable()
+Returns true if the type is assignable to the type of the given object.
+ |
+
boolean |
+canAssignTo(Participant participant)
+Returns true if the given participant can be assigned to this role.
+ |
+
List<Constraint> |
+constraints()
+Returns a list of constraints that are applied to the field.
+ |
+
boolean |
+finished()
+Returns true if the game is over, false otherwise.
+ |
+
Task.TaskDistributionType |
+getTaskDistributionType()
+Returns the type of task distribution used in the simulation
+ |
+
Task.TaskStatus |
+getTaskStatus()
+Returns the status of the task.
+ |
+
void |
+setTaskStatus(Task.TaskStatus status)
+Sets the status of the task to the given status.
+ |
+
decomposerTask.TaskDistributionType getTaskDistributionType()+
Task.TaskStatus getTaskStatus()+
void setTaskStatus(Task.TaskStatus status)+
status - The status of the task.List<Constraint> constraints()+
boolean canAssignTo(Participant participant)+
participant - The participant to assign the task to.boolean assignable()+
boolean finished()+
Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/resource/ability.html b/target/staging/apidocs/cn/crowdos/kernel/resource/ability.html new file mode 100644 index 0000000..ef4605e --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/resource/ability.html @@ -0,0 +1,167 @@ + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/resource/class-use/AbstractParticipant.html b/target/staging/apidocs/cn/crowdos/kernel/resource/class-use/AbstractParticipant.html new file mode 100644 index 0000000..e1862e8 --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/resource/class-use/AbstractParticipant.html @@ -0,0 +1,166 @@ + + + + + + +| Package | +Description | +
|---|---|
| cn.crowdos.kernel.resource | ++ |
| Modifier and Type | +Class and Description | +
|---|---|
class |
+SimpleParticipant |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/resource/class-use/AbstractTask.html b/target/staging/apidocs/cn/crowdos/kernel/resource/class-use/AbstractTask.html new file mode 100644 index 0000000..d8ad971 --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/resource/class-use/AbstractTask.html @@ -0,0 +1,166 @@ + + + + + + +| Package | +Description | +
|---|---|
| cn.crowdos.kernel.resource | ++ |
| Modifier and Type | +Class and Description | +
|---|---|
class |
+SimpleTask |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/resource/class-use/Participant.ParticipantStatus.html b/target/staging/apidocs/cn/crowdos/kernel/resource/class-use/Participant.ParticipantStatus.html new file mode 100644 index 0000000..bcd680f --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/resource/class-use/Participant.ParticipantStatus.html @@ -0,0 +1,254 @@ + + + + + + +| Package | +Description | +
|---|---|
| cn.crowdos.kernel.resource | ++ |
| Modifier and Type | +Field and Description | +
|---|---|
protected Participant.ParticipantStatus |
+AbstractParticipant.status |
+
protected Participant.ParticipantStatus |
+AbstractParticipant.status |
+
| Modifier and Type | +Method and Description | +
|---|---|
Participant.ParticipantStatus |
+AbstractParticipant.getStatus() |
+
Participant.ParticipantStatus |
+Participant.getStatus()
+Returns the status of the participant
+ |
+
Participant.ParticipantStatus |
+Participant.getStatus()
+Returns the status of the participant
+ |
+
Participant.ParticipantStatus |
+AbstractParticipant.getStatus() |
+
static Participant.ParticipantStatus |
+Participant.ParticipantStatus.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static Participant.ParticipantStatus |
+Participant.ParticipantStatus.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static Participant.ParticipantStatus[] |
+Participant.ParticipantStatus.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
static Participant.ParticipantStatus[] |
+Participant.ParticipantStatus.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+AbstractParticipant.setStatus(Participant.ParticipantStatus status) |
+
void |
+Participant.setStatus(Participant.ParticipantStatus status)
+Sets the status of the participant
+ |
+
void |
+Participant.setStatus(Participant.ParticipantStatus status)
+Sets the status of the participant
+ |
+
void |
+AbstractParticipant.setStatus(Participant.ParticipantStatus status) |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/resource/class-use/Participant.html b/target/staging/apidocs/cn/crowdos/kernel/resource/class-use/Participant.html new file mode 100644 index 0000000..e65ba02 --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/resource/class-use/Participant.html @@ -0,0 +1,957 @@ + + + + + + +| Package | +Description | +
|---|---|
| cn.crowdos.kernel | ++ |
| cn.crowdos.kernel.algorithms | ++ |
| cn.crowdos.kernel.Incentive | ++ |
| cn.crowdos.kernel.resource | ++ |
| cn.crowdos.kernel.system.resource | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
List<List<Participant>> |
+Scheduler.assignTasks()
+For each task in the task pool, assign a list of participants to it
+ |
+
List<List<Participant>> |
+Scheduler.assignTasks()
+For each task in the task pool, assign a list of participants to it
+ |
+
List<Participant> |
+CrowdKernel.getParticipants()
+Get a list of all the participants in the conversation.
+ |
+
List<Participant> |
+Kernel.getParticipants() |
+
List<Participant> |
+Kernel.getParticipants() |
+
List<Participant> |
+CrowdKernel.getParticipants()
+Get a list of all the participants in the conversation.
+ |
+
List<List<Participant>> |
+CrowdKernel.getTaskAssignmentScheme(ArrayList<Task> tasks) |
+
List<List<Participant>> |
+Kernel.getTaskAssignmentScheme(ArrayList<Task> tasks)
+The getTaskAssignmentScheme function is used to assign tasks to participants.
+ |
+
List<List<Participant>> |
+Kernel.getTaskAssignmentScheme(ArrayList<Task> tasks)
+The getTaskAssignmentScheme function is used to assign tasks to participants.
+ |
+
List<List<Participant>> |
+CrowdKernel.getTaskAssignmentScheme(ArrayList<Task> tasks) |
+
List<Participant> |
+CrowdKernel.getTaskAssignmentScheme(Task task)
+Given a task, return a list of participants that are assigned to the task.
+ |
+
List<Participant> |
+Kernel.getTaskAssignmentScheme(Task task) |
+
List<Participant> |
+Kernel.getTaskAssignmentScheme(Task task) |
+
List<Participant> |
+CrowdKernel.getTaskAssignmentScheme(Task task)
+Given a task, return a list of participants that are assigned to the task.
+ |
+
Map<Participant,Double> |
+CrowdKernel.getTaskIncentiveAssignmentScheme(Task task,
+ Double rewards) |
+
Map<Participant,Double> |
+Kernel.getTaskIncentiveAssignmentScheme(Task task,
+ Double rewards) |
+
Map<Participant,Double> |
+Kernel.getTaskIncentiveAssignmentScheme(Task task,
+ Double rewards) |
+
Map<Participant,Double> |
+CrowdKernel.getTaskIncentiveAssignmentScheme(Task task,
+ Double rewards) |
+
List<List<Participant>> |
+CrowdKernel.getTaskParticipantSelectionResult(ArrayList<Task> tasks) |
+
List<List<Participant>> |
+Kernel.getTaskParticipantSelectionResult(ArrayList<Task> tasks)
+The getTaskParticipantSelectionResult function is used to assign tasks to participants.
+ |
+
List<List<Participant>> |
+Kernel.getTaskParticipantSelectionResult(ArrayList<Task> tasks)
+The getTaskParticipantSelectionResult function is used to assign tasks to participants.
+ |
+
List<List<Participant>> |
+CrowdKernel.getTaskParticipantSelectionResult(ArrayList<Task> tasks) |
+
List<Participant> |
+CrowdKernel.getTaskParticipantSelectionResult(Task task)
+Get the participant selection result for the given task.
+ |
+
List<Participant> |
+Kernel.getTaskParticipantSelectionResult(Task task) |
+
List<Participant> |
+Kernel.getTaskParticipantSelectionResult(Task task) |
+
List<Participant> |
+CrowdKernel.getTaskParticipantSelectionResult(Task task)
+Get the participant selection result for the given task.
+ |
+
List<List<Participant>> |
+CrowdKernel.getTaskRecommendationScheme(ArrayList<Task> tasks) |
+
List<List<Participant>> |
+Kernel.getTaskRecommendationScheme(ArrayList<Task> tasks)
+The etTaskRecommendationScheme function is used to assign tasks to participants.
+ |
+
List<List<Participant>> |
+Kernel.getTaskRecommendationScheme(ArrayList<Task> tasks)
+The etTaskRecommendationScheme function is used to assign tasks to participants.
+ |
+
List<List<Participant>> |
+CrowdKernel.getTaskRecommendationScheme(ArrayList<Task> tasks) |
+
List<Participant> |
+CrowdKernel.getTaskRecommendationScheme(Task task)
+Given a task, return a list of participants that are recommended to work on that task.
+ |
+
List<Participant> |
+Kernel.getTaskRecommendationScheme(Task task) |
+
List<Participant> |
+Kernel.getTaskRecommendationScheme(Task task) |
+
List<Participant> |
+CrowdKernel.getTaskRecommendationScheme(Task task)
+Given a task, return a list of participants that are recommended to work on that task.
+ |
+
List<List<Participant>> |
+Scheduler.participantSelection(ArrayList<Task> tasks) |
+
List<List<Participant>> |
+Scheduler.participantSelection(ArrayList<Task> tasks) |
+
List<Participant> |
+Scheduler.participantSelection(Task task)
+The participant selection algorithm is used to get the candidates for a task.
+ |
+
List<Participant> |
+Scheduler.participantSelection(Task task)
+The participant selection algorithm is used to get the candidates for a task.
+ |
+
List<List<Participant>> |
+Scheduler.recommendTasks()
+For each task in the task pool, recommend a list of participants to complete the task
+ |
+
List<List<Participant>> |
+Scheduler.recommendTasks()
+For each task in the task pool, recommend a list of participants to complete the task
+ |
+
List<List<Participant>> |
+Scheduler.taskAssignment(ArrayList<Task> tasks) |
+
List<List<Participant>> |
+Scheduler.taskAssignment(ArrayList<Task> tasks) |
+
List<Participant> |
+Scheduler.taskAssignment(Task task)
+This function returns a list of participants that are assigned to a task.
+ |
+
List<Participant> |
+Scheduler.taskAssignment(Task task)
+This function returns a list of participants that are assigned to a task.
+ |
+
List<List<Participant>> |
+Scheduler.taskRecommendation(ArrayList<Task> tasks) |
+
List<List<Participant>> |
+Scheduler.taskRecommendation(ArrayList<Task> tasks) |
+
List<Participant> |
+Scheduler.taskRecommendation(Task task)
+This function returns a list of participants that are recommended for a given task.
+ |
+
List<Participant> |
+Scheduler.taskRecommendation(Task task)
+This function returns a list of participants that are recommended for a given task.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
boolean |
+CrowdKernel.registerParticipant(Participant participant)
+This function registers a participant in the system.
+ |
+
boolean |
+Kernel.registerParticipant(Participant participant) |
+
boolean |
+Kernel.registerParticipant(Participant participant) |
+
boolean |
+CrowdKernel.registerParticipant(Participant participant)
+This function registers a participant in the system.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
default List<List<Participant>> |
+TaskAssignmentAlgo.getAssignmentScheme(ArrayList<Task> tasks) |
+
default List<List<Participant>> |
+TaskAssignmentAlgo.getAssignmentScheme(ArrayList<Task> tasks) |
+
List<Participant> |
+TaskAssignmentAlgo.getAssignmentScheme(Task task)
+Given a task, return a list of workers that are assigned to the task.
+ |
+
List<Participant> |
+TaskAssignmentAlgo.getAssignmentScheme(Task task)
+Given a task, return a list of workers that are assigned to the task.
+ |
+
default List<List<Participant>> |
+ParticipantSelectionAlgo.getCandidates(ArrayList<Task> tasks) |
+
default List<List<Participant>> |
+ParticipantSelectionAlgo.getCandidates(ArrayList<Task> tasks) |
+
List<Participant> |
+ParticipantSelectionAlgo.getCandidates(Task task)
+Get all the workers that are eligible to be assigned to the given task.
+ |
+
List<Participant> |
+ParticipantSelectionAlgo.getCandidates(Task task)
+Get all the workers that are eligible to be assigned to the given task.
+ |
+
default List<List<Participant>> |
+TaskRecommendationAlgo.getRecommendationScheme(ArrayList<Task> tasks) |
+
default List<List<Participant>> |
+TaskRecommendationAlgo.getRecommendationScheme(ArrayList<Task> tasks) |
+
List<Participant> |
+TaskRecommendationAlgo.getRecommendationScheme(Task task)
+Given a task, return a list of workers that are recommended to work on the task.
+ |
+
List<Participant> |
+TaskRecommendationAlgo.getRecommendationScheme(Task task)
+Given a task, return a list of workers that are recommended to work on the task.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
List<Participant> |
+CredibilityBasedIncentive.getTrustedParticipants() |
+
List<Participant> |
+CredibilityBasedIncentiveImpl.getTrustedParticipants()
+The getTrustedParticipants function returns a list of participants who in the trust chain.
+ |
+
List<Participant> |
+CredibilityBasedIncentiveImpl.getTrustedParticipants()
+The getTrustedParticipants function returns a list of participants who in the trust chain.
+ |
+
List<Participant> |
+CredibilityBasedIncentive.getTrustedParticipants() |
+
Map<Participant,Double> |
+CredibilityBasedIncentive.IncentiveAssignment() |
+
Map<Participant,Double> |
+CredibilityBasedIncentiveImpl.IncentiveAssignment()
+The IncentiveAssignment function returns the incentive scheme assigned to the task.
+ |
+
Map<Participant,Double> |
+CredibilityBasedIncentiveImpl.IncentiveAssignment()
+The IncentiveAssignment function returns the incentive scheme assigned to the task.
+ |
+
Map<Participant,Double> |
+CredibilityBasedIncentive.IncentiveAssignment() |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+CredibilityBasedIncentive.addCredibility(Participant participant) |
+
void |
+CredibilityBasedIncentiveImpl.addCredibility(Participant participant)
+The addCredibility function add one to the credibility of the participant in trustValues.
+ |
+
void |
+CredibilityBasedIncentiveImpl.addCredibility(Participant participant)
+The addCredibility function add one to the credibility of the participant in trustValues.
+ |
+
void |
+CredibilityBasedIncentive.addCredibility(Participant participant) |
+
void |
+CredibilityBasedIncentive.allocateRewards(double rewards,
+ Task task,
+ Participant firstParticipant,
+ List<Participant> participants) |
+
void |
+CredibilityBasedIncentiveImpl.allocateRewards(double rewards,
+ Task task,
+ Participant firstParticipant,
+ List<Participant> participants)
+The allocateRewards function This method distributes rewards for task completer with others in the chain of trust.
+ |
+
void |
+CredibilityBasedIncentiveImpl.allocateRewards(double rewards,
+ Task task,
+ Participant firstParticipant,
+ List<Participant> participants)
+The allocateRewards function This method distributes rewards for task completer with others in the chain of trust.
+ |
+
void |
+CredibilityBasedIncentive.allocateRewards(double rewards,
+ Task task,
+ Participant firstParticipant,
+ List<Participant> participants) |
+
int |
+CredibilityBasedIncentive.getCredibility(Participant participant) |
+
int |
+CredibilityBasedIncentiveImpl.getCredibility(Participant participant)
+The getCredibility function query the credibility value of the specified participant in trustValues.
+ |
+
int |
+CredibilityBasedIncentiveImpl.getCredibility(Participant participant)
+The getCredibility function query the credibility value of the specified participant in trustValues.
+ |
+
int |
+CredibilityBasedIncentive.getCredibility(Participant participant) |
+
boolean |
+CredibilityBasedIncentive.isTrustedParticipant(Participant participant) |
+
boolean |
+CredibilityBasedIncentiveImpl.isTrustedParticipant(Participant participant)
+The isTrustedParticipant function determines whether a particular participant is in the trust chain or not.
+ |
+
boolean |
+CredibilityBasedIncentiveImpl.isTrustedParticipant(Participant participant)
+The isTrustedParticipant function determines whether a particular participant is in the trust chain or not.
+ |
+
boolean |
+CredibilityBasedIncentive.isTrustedParticipant(Participant participant) |
+
void |
+CredibilityBasedIncentive.penalizeCredibility(Participant participant) |
+
void |
+CredibilityBasedIncentiveImpl.penalizeCredibility(Participant participant)
+The penalizeCredibility function reduce one to the credibility of the participant in trustValues.
+ |
+
void |
+CredibilityBasedIncentiveImpl.penalizeCredibility(Participant participant)
+The penalizeCredibility function reduce one to the credibility of the participant in trustValues.
+ |
+
void |
+CredibilityBasedIncentive.penalizeCredibility(Participant participant) |
+
void |
+CredibilityBasedIncentive.removeTrustedParticipant(Participant participant) |
+
void |
+CredibilityBasedIncentiveImpl.removeTrustedParticipant(Participant participant)
+The removeTrustedParticipant function removes a participant from the trust chain.
+ |
+
void |
+CredibilityBasedIncentiveImpl.removeTrustedParticipant(Participant participant)
+The removeTrustedParticipant function removes a participant from the trust chain.
+ |
+
void |
+CredibilityBasedIncentive.removeTrustedParticipant(Participant participant) |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+CredibilityBasedIncentive.allocateRewards(double rewards,
+ Task task,
+ Participant firstParticipant,
+ List<Participant> participants) |
+
void |
+CredibilityBasedIncentiveImpl.allocateRewards(double rewards,
+ Task task,
+ Participant firstParticipant,
+ List<Participant> participants)
+The allocateRewards function This method distributes rewards for task completer with others in the chain of trust.
+ |
+
void |
+CredibilityBasedIncentiveImpl.allocateRewards(double rewards,
+ Task task,
+ Participant firstParticipant,
+ List<Participant> participants)
+The allocateRewards function This method distributes rewards for task completer with others in the chain of trust.
+ |
+
void |
+CredibilityBasedIncentive.allocateRewards(double rewards,
+ Task task,
+ Participant firstParticipant,
+ List<Participant> participants) |
+
| Modifier and Type | +Class and Description | +
|---|---|
class |
+AbstractParticipant |
+
class |
+SimpleParticipant |
+
| Modifier and Type | +Method and Description | +
|---|---|
boolean |
+AbstractTask.canAssignTo(Participant participant) |
+
boolean |
+Task.canAssignTo(Participant participant)
+Returns true if the given participant can be assigned to this role.
+ |
+
boolean |
+Task.canAssignTo(Participant participant)
+Returns true if the given participant can be assigned to this role.
+ |
+
boolean |
+AbstractTask.canAssignTo(Participant participant) |
+
| Modifier and Type | +Method and Description | +
|---|---|
Participant |
+Mission.getFirstSubmitParticipant()
+The getFirstSubmitParticipant function z.
+ |
+
Participant |
+Mission.getFirstSubmitParticipant()
+The getFirstSubmitParticipant function z.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
List<Participant> |
+Mission.getParticipants()
+The getParticipants function returns a list of participants.
+ |
+
List<Participant> |
+Mission.getParticipants()
+The getParticipants function returns a list of participants.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
List<Mission> |
+MissionHistory.getMissionsByParticipant(Participant participant)
+The getMissionsByParticipant function returns a list of missions that the participant is involved in.
+ |
+
List<Mission> |
+MissionHistory.getMissionsByParticipant(Participant participant)
+The getMissionsByParticipant function returns a list of missions that the participant is involved in.
+ |
+
boolean |
+Mission.involved(Participant participant)
+The involved function checks if a participant is involved in the conversation.
+ |
+
boolean |
+Mission.involved(Participant participant)
+The involved function checks if a participant is involved in the conversation.
+ |
+
void |
+Mission.updateSubmit(Participant participant)
+The updateSubmit function updates the participant's submission time to the current time.
+ |
+
void |
+Mission.updateSubmit(Participant participant)
+The updateSubmit function updates the participant's submission time to the current time.
+ |
+
void |
+Mission.updateSubmit(Participant participant,
+ Date submitTime)
+The updateSubmit function is used to update the submit time of a participant.
+ |
+
void |
+Mission.updateSubmit(Participant participant,
+ Date submitTime)
+The updateSubmit function is used to update the submit time of a participant.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+MissionHistory.newMission(Task task,
+ List<Participant> participants) |
+
void |
+MissionHistory.newMission(Task task,
+ List<Participant> participants) |
+
| Constructor and Description | +
|---|
Mission(Task task,
+ List<Participant> participants)
+The Mission function is a constructor for the Mission class.
+ |
+
Mission(Task task,
+ List<Participant> participants)
+The Mission function is a constructor for the Mission class.
+ |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/resource/class-use/SimpleParticipant.html b/target/staging/apidocs/cn/crowdos/kernel/resource/class-use/SimpleParticipant.html new file mode 100644 index 0000000..06aa006 --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/resource/class-use/SimpleParticipant.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/resource/class-use/SimpleTask.html b/target/staging/apidocs/cn/crowdos/kernel/resource/class-use/SimpleTask.html new file mode 100644 index 0000000..a388417 --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/resource/class-use/SimpleTask.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/resource/class-use/Task.TaskDistributionType.html b/target/staging/apidocs/cn/crowdos/kernel/resource/class-use/Task.TaskDistributionType.html new file mode 100644 index 0000000..1cab0f2 --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/resource/class-use/Task.TaskDistributionType.html @@ -0,0 +1,249 @@ + + + + + + +| Package | +Description | +
|---|---|
| cn.crowdos.kernel.resource | ++ |
| Modifier and Type | +Field and Description | +
|---|---|
protected Task.TaskDistributionType |
+AbstractTask.taskDistributionType |
+
protected Task.TaskDistributionType |
+AbstractTask.taskDistributionType |
+
| Modifier and Type | +Method and Description | +
|---|---|
Task.TaskDistributionType |
+AbstractTask.getTaskDistributionType() |
+
Task.TaskDistributionType |
+Task.getTaskDistributionType()
+Returns the type of task distribution used in the simulation
+ |
+
Task.TaskDistributionType |
+Task.getTaskDistributionType()
+Returns the type of task distribution used in the simulation
+ |
+
Task.TaskDistributionType |
+AbstractTask.getTaskDistributionType() |
+
static Task.TaskDistributionType |
+Task.TaskDistributionType.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static Task.TaskDistributionType |
+Task.TaskDistributionType.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static Task.TaskDistributionType[] |
+Task.TaskDistributionType.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
static Task.TaskDistributionType[] |
+Task.TaskDistributionType.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
| Constructor and Description | +
|---|
AbstractTask(List<Constraint> constraints,
+ Task.TaskDistributionType taskDistributionType) |
+
AbstractTask(List<Constraint> constraints,
+ Task.TaskDistributionType taskDistributionType) |
+
SimpleTask(List<Constraint> constraints,
+ Task.TaskDistributionType taskDistributionType) |
+
SimpleTask(List<Constraint> constraints,
+ Task.TaskDistributionType taskDistributionType) |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/resource/class-use/Task.TaskStatus.html b/target/staging/apidocs/cn/crowdos/kernel/resource/class-use/Task.TaskStatus.html new file mode 100644 index 0000000..49fe1db --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/resource/class-use/Task.TaskStatus.html @@ -0,0 +1,254 @@ + + + + + + +| Package | +Description | +
|---|---|
| cn.crowdos.kernel.resource | ++ |
| Modifier and Type | +Field and Description | +
|---|---|
protected Task.TaskStatus |
+AbstractTask.status |
+
protected Task.TaskStatus |
+AbstractTask.status |
+
| Modifier and Type | +Method and Description | +
|---|---|
Task.TaskStatus |
+AbstractTask.getTaskStatus() |
+
Task.TaskStatus |
+Task.getTaskStatus()
+Returns the status of the task.
+ |
+
Task.TaskStatus |
+Task.getTaskStatus()
+Returns the status of the task.
+ |
+
Task.TaskStatus |
+AbstractTask.getTaskStatus() |
+
static Task.TaskStatus |
+Task.TaskStatus.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static Task.TaskStatus |
+Task.TaskStatus.valueOf(String name)
+Returns the enum constant of this type with the specified name.
+ |
+
static Task.TaskStatus[] |
+Task.TaskStatus.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
static Task.TaskStatus[] |
+Task.TaskStatus.values()
+Returns an array containing the constants of this enum type, in
+the order they are declared.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+AbstractTask.setTaskStatus(Task.TaskStatus status) |
+
void |
+Task.setTaskStatus(Task.TaskStatus status)
+Sets the status of the task to the given status.
+ |
+
void |
+Task.setTaskStatus(Task.TaskStatus status)
+Sets the status of the task to the given status.
+ |
+
void |
+AbstractTask.setTaskStatus(Task.TaskStatus status) |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/resource/class-use/Task.html b/target/staging/apidocs/cn/crowdos/kernel/resource/class-use/Task.html new file mode 100644 index 0000000..2a28944 --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/resource/class-use/Task.html @@ -0,0 +1,705 @@ + + + + + + +| Package | +Description | +
|---|---|
| cn.crowdos.kernel | ++ |
| cn.crowdos.kernel.algorithms | ++ |
| cn.crowdos.kernel.constraint | ++ |
| cn.crowdos.kernel.Incentive | ++ |
| cn.crowdos.kernel.resource | ++ |
| cn.crowdos.kernel.system.resource | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
List<Task> |
+CrowdKernel.getTasks()
+This function returns a list of tasks.
+ |
+
List<Task> |
+Kernel.getTasks() |
+
List<Task> |
+Kernel.getTasks() |
+
List<Task> |
+CrowdKernel.getTasks()
+This function returns a list of tasks.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
List<Participant> |
+CrowdKernel.getTaskAssignmentScheme(Task task)
+Given a task, return a list of participants that are assigned to the task.
+ |
+
List<Participant> |
+Kernel.getTaskAssignmentScheme(Task task) |
+
List<Participant> |
+Kernel.getTaskAssignmentScheme(Task task) |
+
List<Participant> |
+CrowdKernel.getTaskAssignmentScheme(Task task)
+Given a task, return a list of participants that are assigned to the task.
+ |
+
Map<Participant,Double> |
+CrowdKernel.getTaskIncentiveAssignmentScheme(Task task,
+ Double rewards) |
+
Map<Participant,Double> |
+Kernel.getTaskIncentiveAssignmentScheme(Task task,
+ Double rewards) |
+
Map<Participant,Double> |
+Kernel.getTaskIncentiveAssignmentScheme(Task task,
+ Double rewards) |
+
Map<Participant,Double> |
+CrowdKernel.getTaskIncentiveAssignmentScheme(Task task,
+ Double rewards) |
+
List<Participant> |
+CrowdKernel.getTaskParticipantSelectionResult(Task task)
+Get the participant selection result for the given task.
+ |
+
List<Participant> |
+Kernel.getTaskParticipantSelectionResult(Task task) |
+
List<Participant> |
+Kernel.getTaskParticipantSelectionResult(Task task) |
+
List<Participant> |
+CrowdKernel.getTaskParticipantSelectionResult(Task task)
+Get the participant selection result for the given task.
+ |
+
List<Participant> |
+CrowdKernel.getTaskRecommendationScheme(Task task)
+Given a task, return a list of participants that are recommended to work on that task.
+ |
+
List<Participant> |
+Kernel.getTaskRecommendationScheme(Task task) |
+
List<Participant> |
+Kernel.getTaskRecommendationScheme(Task task) |
+
List<Participant> |
+CrowdKernel.getTaskRecommendationScheme(Task task)
+Given a task, return a list of participants that are recommended to work on that task.
+ |
+
List<Participant> |
+Scheduler.participantSelection(Task task)
+The participant selection algorithm is used to get the candidates for a task.
+ |
+
List<Participant> |
+Scheduler.participantSelection(Task task)
+The participant selection algorithm is used to get the candidates for a task.
+ |
+
boolean |
+CrowdKernel.submitTask(Task task) |
+
boolean |
+Kernel.submitTask(Task task) |
+
boolean |
+Kernel.submitTask(Task task) |
+
boolean |
+CrowdKernel.submitTask(Task task) |
+
List<Participant> |
+Scheduler.taskAssignment(Task task)
+This function returns a list of participants that are assigned to a task.
+ |
+
List<Participant> |
+Scheduler.taskAssignment(Task task)
+This function returns a list of participants that are assigned to a task.
+ |
+
List<Participant> |
+Scheduler.taskRecommendation(Task task)
+This function returns a list of participants that are recommended for a given task.
+ |
+
List<Participant> |
+Scheduler.taskRecommendation(Task task)
+This function returns a list of participants that are recommended for a given task.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
List<List<Participant>> |
+CrowdKernel.getTaskAssignmentScheme(ArrayList<Task> tasks) |
+
List<List<Participant>> |
+Kernel.getTaskAssignmentScheme(ArrayList<Task> tasks)
+The getTaskAssignmentScheme function is used to assign tasks to participants.
+ |
+
List<List<Participant>> |
+Kernel.getTaskAssignmentScheme(ArrayList<Task> tasks)
+The getTaskAssignmentScheme function is used to assign tasks to participants.
+ |
+
List<List<Participant>> |
+CrowdKernel.getTaskAssignmentScheme(ArrayList<Task> tasks) |
+
List<List<Participant>> |
+CrowdKernel.getTaskParticipantSelectionResult(ArrayList<Task> tasks) |
+
List<List<Participant>> |
+Kernel.getTaskParticipantSelectionResult(ArrayList<Task> tasks)
+The getTaskParticipantSelectionResult function is used to assign tasks to participants.
+ |
+
List<List<Participant>> |
+Kernel.getTaskParticipantSelectionResult(ArrayList<Task> tasks)
+The getTaskParticipantSelectionResult function is used to assign tasks to participants.
+ |
+
List<List<Participant>> |
+CrowdKernel.getTaskParticipantSelectionResult(ArrayList<Task> tasks) |
+
List<List<Participant>> |
+CrowdKernel.getTaskRecommendationScheme(ArrayList<Task> tasks) |
+
List<List<Participant>> |
+Kernel.getTaskRecommendationScheme(ArrayList<Task> tasks)
+The etTaskRecommendationScheme function is used to assign tasks to participants.
+ |
+
List<List<Participant>> |
+Kernel.getTaskRecommendationScheme(ArrayList<Task> tasks)
+The etTaskRecommendationScheme function is used to assign tasks to participants.
+ |
+
List<List<Participant>> |
+CrowdKernel.getTaskRecommendationScheme(ArrayList<Task> tasks) |
+
List<List<Participant>> |
+Scheduler.participantSelection(ArrayList<Task> tasks) |
+
List<List<Participant>> |
+Scheduler.participantSelection(ArrayList<Task> tasks) |
+
List<List<Participant>> |
+Scheduler.taskAssignment(ArrayList<Task> tasks) |
+
List<List<Participant>> |
+Scheduler.taskAssignment(ArrayList<Task> tasks) |
+
List<List<Participant>> |
+Scheduler.taskRecommendation(ArrayList<Task> tasks) |
+
List<List<Participant>> |
+Scheduler.taskRecommendation(ArrayList<Task> tasks) |
+
| Modifier and Type | +Method and Description | +
|---|---|
List<Participant> |
+TaskAssignmentAlgo.getAssignmentScheme(Task task)
+Given a task, return a list of workers that are assigned to the task.
+ |
+
List<Participant> |
+TaskAssignmentAlgo.getAssignmentScheme(Task task)
+Given a task, return a list of workers that are assigned to the task.
+ |
+
List<Participant> |
+ParticipantSelectionAlgo.getCandidates(Task task)
+Get all the workers that are eligible to be assigned to the given task.
+ |
+
List<Participant> |
+ParticipantSelectionAlgo.getCandidates(Task task)
+Get all the workers that are eligible to be assigned to the given task.
+ |
+
List<Participant> |
+TaskRecommendationAlgo.getRecommendationScheme(Task task)
+Given a task, return a list of workers that are recommended to work on the task.
+ |
+
List<Participant> |
+TaskRecommendationAlgo.getRecommendationScheme(Task task)
+Given a task, return a list of workers that are recommended to work on the task.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
default List<List<Participant>> |
+TaskAssignmentAlgo.getAssignmentScheme(ArrayList<Task> tasks) |
+
default List<List<Participant>> |
+TaskAssignmentAlgo.getAssignmentScheme(ArrayList<Task> tasks) |
+
default List<List<Participant>> |
+ParticipantSelectionAlgo.getCandidates(ArrayList<Task> tasks) |
+
default List<List<Participant>> |
+ParticipantSelectionAlgo.getCandidates(ArrayList<Task> tasks) |
+
default List<List<Participant>> |
+TaskRecommendationAlgo.getRecommendationScheme(ArrayList<Task> tasks) |
+
default List<List<Participant>> |
+TaskRecommendationAlgo.getRecommendationScheme(ArrayList<Task> tasks) |
+
| Constructor and Description | +
|---|
DependenceConstraint(List<Task> previousTasks)
+The DependenceConstraint function is used to determine if a task can be scheduled.
+ |
+
DependenceConstraint(List<Task> previousTasks)
+The DependenceConstraint function is used to determine if a task can be scheduled.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+CredibilityBasedIncentive.allocateRewards(double rewards,
+ Task task,
+ Participant firstParticipant,
+ List<Participant> participants) |
+
void |
+CredibilityBasedIncentiveImpl.allocateRewards(double rewards,
+ Task task,
+ Participant firstParticipant,
+ List<Participant> participants)
+The allocateRewards function This method distributes rewards for task completer with others in the chain of trust.
+ |
+
void |
+CredibilityBasedIncentiveImpl.allocateRewards(double rewards,
+ Task task,
+ Participant firstParticipant,
+ List<Participant> participants)
+The allocateRewards function This method distributes rewards for task completer with others in the chain of trust.
+ |
+
void |
+CredibilityBasedIncentive.allocateRewards(double rewards,
+ Task task,
+ Participant firstParticipant,
+ List<Participant> participants) |
+
| Modifier and Type | +Class and Description | +
|---|---|
class |
+AbstractTask |
+
class |
+SimpleTask |
+
| Modifier and Type | +Method and Description | +
|---|---|
abstract Decomposer<Task> |
+AbstractTask.decomposer() |
+
Decomposer<Task> |
+SimpleTask.decomposer() |
+
Decomposer<Task> |
+SimpleTask.decomposer() |
+
abstract Decomposer<Task> |
+AbstractTask.decomposer() |
+
| Modifier and Type | +Method and Description | +
|---|---|
boolean |
+Mission.belongTo(Task task)
+The belongTo function checks if the task of a given TaskItem is equal to the
+ task of this TaskItem.
+ |
+
boolean |
+Mission.belongTo(Task task)
+The belongTo function checks if the task of a given TaskItem is equal to the
+ task of this TaskItem.
+ |
+
List<Mission> |
+MissionHistory.getMissionsByTask(Task task)
+The getMissionsByTask function returns a list of missions that belong to the task passed in as an argument.
+ |
+
List<Mission> |
+MissionHistory.getMissionsByTask(Task task)
+The getMissionsByTask function returns a list of missions that belong to the task passed in as an argument.
+ |
+
void |
+MissionHistory.newMission(Task task,
+ List<Participant> participants) |
+
void |
+MissionHistory.newMission(Task task,
+ List<Participant> participants) |
+
| Constructor and Description | +
|---|
Mission(Task task,
+ List<Participant> participants)
+The Mission function is a constructor for the Mission class.
+ |
+
Mission(Task task,
+ List<Participant> participants)
+The Mission function is a constructor for the Mission class.
+ |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/resource/class-use/ability.html b/target/staging/apidocs/cn/crowdos/kernel/resource/class-use/ability.html new file mode 100644 index 0000000..cabf835 --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/resource/class-use/ability.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/resource/package-frame.html b/target/staging/apidocs/cn/crowdos/kernel/resource/package-frame.html new file mode 100644 index 0000000..5e9f8ad --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/resource/package-frame.html @@ -0,0 +1,39 @@ + + + + + + +| Interface | +Description | +
|---|---|
| Participant | ++ |
| Task | ++ |
| Class | +Description | +
|---|---|
| AbstractParticipant | ++ |
| AbstractTask | ++ |
| SimpleParticipant | ++ |
| SimpleTask | ++ |
| Enum | +Description | +
|---|---|
| Participant.ParticipantStatus | ++ |
| Task.TaskDistributionType | ++ |
| Task.TaskStatus | ++ |
| Annotation Type | +Description | +
|---|---|
| ability | ++ |
Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/resource/package-tree.html b/target/staging/apidocs/cn/crowdos/kernel/resource/package-tree.html new file mode 100644 index 0000000..1ea4823 --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/resource/package-tree.html @@ -0,0 +1,175 @@ + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/resource/package-use.html b/target/staging/apidocs/cn/crowdos/kernel/resource/package-use.html new file mode 100644 index 0000000..4102992 --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/resource/package-use.html @@ -0,0 +1,284 @@ + + + + + + +| Package | +Description | +
|---|---|
| cn.crowdos.kernel | ++ |
| cn.crowdos.kernel.Incentive | ++ |
| cn.crowdos.kernel.algorithms | ++ |
| cn.crowdos.kernel.constraint | ++ |
| cn.crowdos.kernel.resource | ++ |
| cn.crowdos.kernel.system.resource | ++ |
| Class and Description | +
|---|
| Participant | +
| Task | +
| Class and Description | +
|---|
| Participant | +
| Task | +
| Class and Description | +
|---|
| Participant | +
| Task | +
| Class and Description | +
|---|
| Task | +
| Class and Description | +
|---|
| AbstractParticipant | +
| AbstractTask | +
| Participant | +
| Participant.ParticipantStatus | +
| Task | +
| Task.TaskDistributionType | +
| Task.TaskStatus | +
| Class and Description | +
|---|
| Participant | +
| Task | +
Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/system/DuplicateResourceNameException.html b/target/staging/apidocs/cn/crowdos/kernel/system/DuplicateResourceNameException.html new file mode 100644 index 0000000..bc0c273 --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/system/DuplicateResourceNameException.html @@ -0,0 +1,264 @@ + + + + + + +public class DuplicateResourceNameException +extends Exception+
| Constructor and Description | +
|---|
DuplicateResourceNameException() |
+
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringCopyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/system/SystemResourceCollection.html b/target/staging/apidocs/cn/crowdos/kernel/system/SystemResourceCollection.html new file mode 100644 index 0000000..90d2820 --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/system/SystemResourceCollection.html @@ -0,0 +1,326 @@ + + + + + + +public class SystemResourceCollection +extends Object+
| Constructor and Description | +
|---|
SystemResourceCollection() |
+
| Modifier and Type | +Method and Description | +
|---|---|
<T> SystemResourceHandler<T> |
+getResourceHandler(Class<? extends Resource<T>> resourceClass) |
+
<T> SystemResourceHandler<T> |
+getResourceHandler(Class<? extends Resource<T>> resourceClass,
+ String resourceName) |
+
void |
+register(Resource<?> resource) |
+
void |
+register(Resource<?> resource,
+ String resourceName) |
+
public SystemResourceCollection()+
public void register(Resource<?> resource) + throws DuplicateResourceNameException+
DuplicateResourceNameExceptionpublic void register(Resource<?> resource, + String resourceName) + throws DuplicateResourceNameException+
DuplicateResourceNameExceptionpublic <T> SystemResourceHandler<T> getResourceHandler(Class<? extends Resource<T>> resourceClass, + String resourceName)+
public <T> SystemResourceHandler<T> getResourceHandler(Class<? extends Resource<T>> resourceClass)+
Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/system/SystemResourceHandler.html b/target/staging/apidocs/cn/crowdos/kernel/system/SystemResourceHandler.html new file mode 100644 index 0000000..2ce9fb0 --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/system/SystemResourceHandler.html @@ -0,0 +1,236 @@ + + + + + + +public interface SystemResourceHandler<T>
+| Modifier and Type | +Method and Description | +
|---|---|
T |
+getResource() |
+
T |
+getResourceView() |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/system/class-use/DuplicateResourceNameException.html b/target/staging/apidocs/cn/crowdos/kernel/system/class-use/DuplicateResourceNameException.html new file mode 100644 index 0000000..9036645 --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/system/class-use/DuplicateResourceNameException.html @@ -0,0 +1,180 @@ + + + + + + +| Package | +Description | +
|---|---|
| cn.crowdos.kernel.system | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
void |
+SystemResourceCollection.register(Resource<?> resource) |
+
void |
+SystemResourceCollection.register(Resource<?> resource) |
+
void |
+SystemResourceCollection.register(Resource<?> resource,
+ String resourceName) |
+
void |
+SystemResourceCollection.register(Resource<?> resource,
+ String resourceName) |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/system/class-use/SystemResourceCollection.html b/target/staging/apidocs/cn/crowdos/kernel/system/class-use/SystemResourceCollection.html new file mode 100644 index 0000000..eeb51c1 --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/system/class-use/SystemResourceCollection.html @@ -0,0 +1,260 @@ + + + + + + +| Package | +Description | +
|---|---|
| cn.crowdos.kernel | ++ |
| cn.crowdos.kernel.algorithms | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
SystemResourceCollection |
+CrowdKernel.getSystemResourceCollection()
+Returns the collection of system resources.
+ |
+
SystemResourceCollection |
+Kernel.getSystemResourceCollection() |
+
SystemResourceCollection |
+Kernel.getSystemResourceCollection() |
+
SystemResourceCollection |
+CrowdKernel.getSystemResourceCollection()
+Returns the collection of system resources.
+ |
+
| Constructor and Description | +
|---|
Scheduler(SystemResourceCollection collection) |
+
Scheduler(SystemResourceCollection collection) |
+
| Modifier and Type | +Field and Description | +
|---|---|
protected SystemResourceCollection |
+AlgoFactoryAdapter.resourceCollection |
+
protected SystemResourceCollection |
+AlgoFactoryAdapter.resourceCollection |
+
| Constructor and Description | +
|---|
AlgoFactoryAdapter(SystemResourceCollection resourceCollection) |
+
AlgoFactoryAdapter(SystemResourceCollection resourceCollection) |
+
GGA_IFactory(SystemResourceCollection resourceCollection) |
+
GGA_IFactory(SystemResourceCollection resourceCollection) |
+
PTMostFactory(SystemResourceCollection resourceCollection) |
+
PTMostFactory(SystemResourceCollection resourceCollection) |
+
T_MostFactory(SystemResourceCollection resourceCollection) |
+
T_MostFactory(SystemResourceCollection resourceCollection) |
+
T_RandomFactory(SystemResourceCollection resourceCollection) |
+
T_RandomFactory(SystemResourceCollection resourceCollection) |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/system/class-use/SystemResourceHandler.html b/target/staging/apidocs/cn/crowdos/kernel/system/class-use/SystemResourceHandler.html new file mode 100644 index 0000000..73f6535 --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/system/class-use/SystemResourceHandler.html @@ -0,0 +1,304 @@ + + + + + + +| Package | +Description | +
|---|---|
| cn.crowdos.kernel | ++ |
| cn.crowdos.kernel.Incentive | ++ |
| cn.crowdos.kernel.system | ++ |
| cn.crowdos.kernel.system.resource | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
SystemResourceHandler<Scheduler> |
+Scheduler.getHandler() |
+
SystemResourceHandler<Scheduler> |
+Scheduler.getHandler() |
+
| Modifier and Type | +Method and Description | +
|---|---|
SystemResourceHandler<CredibilityBasedIncentive> |
+CredibilityBasedIncentiveImpl.getHandler() |
+
SystemResourceHandler<CredibilityBasedIncentive> |
+CredibilityBasedIncentiveImpl.getHandler() |
+
| Modifier and Type | +Method and Description | +
|---|---|
<T> SystemResourceHandler<T> |
+SystemResourceCollection.getResourceHandler(Class<? extends Resource<T>> resourceClass) |
+
<T> SystemResourceHandler<T> |
+SystemResourceCollection.getResourceHandler(Class<? extends Resource<T>> resourceClass) |
+
<T> SystemResourceHandler<T> |
+SystemResourceCollection.getResourceHandler(Class<? extends Resource<T>> resourceClass,
+ String resourceName) |
+
<T> SystemResourceHandler<T> |
+SystemResourceCollection.getResourceHandler(Class<? extends Resource<T>> resourceClass,
+ String resourceName) |
+
| Modifier and Type | +Method and Description | +
|---|---|
SystemResourceHandler<AlgoFactory> |
+AlgoContainer.getHandler() |
+
SystemResourceHandler<MissionHistory> |
+MissionHistory.getHandler()
+The getHandler function is used to return a SystemResourceHandler object that can be used to
+ access the MissionHistory object.
+ |
+
SystemResourceHandler<ParticipantPool> |
+ParticipantPool.getHandler() |
+
SystemResourceHandler<T> |
+Resource.getHandler() |
+
abstract SystemResourceHandler<T> |
+ResourceContainer.getHandler() |
+
SystemResourceHandler<TaskPool> |
+TaskPool.getHandler() |
+
SystemResourceHandler<TaskPool> |
+TaskPool.getHandler() |
+
abstract SystemResourceHandler<T> |
+ResourceContainer.getHandler() |
+
SystemResourceHandler<T> |
+Resource.getHandler() |
+
SystemResourceHandler<ParticipantPool> |
+ParticipantPool.getHandler() |
+
SystemResourceHandler<MissionHistory> |
+MissionHistory.getHandler()
+The getHandler function is used to return a SystemResourceHandler object that can be used to
+ access the MissionHistory object.
+ |
+
SystemResourceHandler<AlgoFactory> |
+AlgoContainer.getHandler() |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/system/package-frame.html b/target/staging/apidocs/cn/crowdos/kernel/system/package-frame.html new file mode 100644 index 0000000..d898930 --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/system/package-frame.html @@ -0,0 +1,29 @@ + + + + + + +| Interface | +Description | +
|---|---|
| SystemResourceHandler<T> | ++ |
| Class | +Description | +
|---|---|
| SystemResourceCollection | ++ |
| Exception | +Description | +
|---|---|
| DuplicateResourceNameException | ++ |
Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/system/package-tree.html b/target/staging/apidocs/cn/crowdos/kernel/system/package-tree.html new file mode 100644 index 0000000..b9e0095 --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/system/package-tree.html @@ -0,0 +1,152 @@ + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/system/package-use.html b/target/staging/apidocs/cn/crowdos/kernel/system/package-use.html new file mode 100644 index 0000000..72a1f42 --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/system/package-use.html @@ -0,0 +1,241 @@ + + + + + + +| Package | +Description | +
|---|---|
| cn.crowdos.kernel | ++ |
| cn.crowdos.kernel.Incentive | ++ |
| cn.crowdos.kernel.algorithms | ++ |
| cn.crowdos.kernel.system | ++ |
| cn.crowdos.kernel.system.resource | ++ |
| Class and Description | +
|---|
| SystemResourceCollection | +
| SystemResourceHandler | +
| Class and Description | +
|---|
| SystemResourceHandler | +
| Class and Description | +
|---|
| SystemResourceCollection | +
| Class and Description | +
|---|
| DuplicateResourceNameException | +
| SystemResourceHandler | +
| Class and Description | +
|---|
| SystemResourceHandler | +
Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/system/resource/AlgoContainer.html b/target/staging/apidocs/cn/crowdos/kernel/system/resource/AlgoContainer.html new file mode 100644 index 0000000..fcc5ee8 --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/system/resource/AlgoContainer.html @@ -0,0 +1,303 @@ + + + + + + +public class AlgoContainer +extends ResourceContainer<AlgoFactory>+
resource| Constructor and Description | +
|---|
AlgoContainer(AlgoFactory resource) |
+
| Modifier and Type | +Method and Description | +
|---|---|
SystemResourceHandler<AlgoFactory> |
+getHandler() |
+
public AlgoContainer(AlgoFactory resource)+
public SystemResourceHandler<AlgoFactory> getHandler()+
getHandler in interface Resource<AlgoFactory>getHandler in class ResourceContainer<AlgoFactory>Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/system/resource/Mission.html b/target/staging/apidocs/cn/crowdos/kernel/system/resource/Mission.html new file mode 100644 index 0000000..455a343 --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/system/resource/Mission.html @@ -0,0 +1,419 @@ + + + + + + +public class Mission +extends Object+
MissionHistory.MissionHistory| Constructor and Description | +
|---|
Mission(Task task,
+ List<Participant> participants)
+The Mission function is a constructor for the Mission class.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
boolean |
+belongTo(Task task)
+The belongTo function checks if the task of a given TaskItem is equal to the
+ task of this TaskItem.
+ |
+
Participant |
+getFirstSubmitParticipant()
+The getFirstSubmitParticipant function z.
+ |
+
List<Participant> |
+getParticipants()
+The getParticipants function returns a list of participants.
+ |
+
boolean |
+involved(Participant participant)
+The involved function checks if a participant is involved in the conversation.
+ |
+
void |
+updateSubmit(Participant participant)
+The updateSubmit function updates the participant's submission time to the current time.
+ |
+
void |
+updateSubmit(Participant participant,
+ Date submitTime)
+The updateSubmit function is used to update the submit time of a participant.
+ |
+
public Mission(Task task, + List<Participant> participants)+
task - Set the task of this missionparticipants - Create a new list<participant> submitparticipantspublic Participant getFirstSubmitParticipant()+
public List<Participant> getParticipants()+
public void updateSubmit(Participant participant) + throws MissionUpdateException+
participant - Determine which participant is being updatedMissionUpdateException - MissionUpdateExceptionpublic void updateSubmit(Participant participant, + Date submitTime) + throws MissionUpdateException+
participant - Identify the participant that is updating their statussubmitTime - Determine the order in which participants submit their workMissionUpdateException - MissionUpdateExceptionpublic boolean belongTo(Task task)+
task - Compare the task object to the current task objectpublic boolean involved(Participant participant)+
participant - Check if the participant is already in the participants listCopyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/system/resource/MissionHistory.html b/target/staging/apidocs/cn/crowdos/kernel/system/resource/MissionHistory.html new file mode 100644 index 0000000..3b200d6 --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/system/resource/MissionHistory.html @@ -0,0 +1,401 @@ + + + + + + +public class MissionHistory +extends Object +implements Resource<MissionHistory>+
Mission| Constructor and Description | +
|---|
MissionHistory() |
+
| Modifier and Type | +Method and Description | +
|---|---|
List<Mission> |
+getFinishedMissions()
+The getFinishedMissions function returns a list of all the finished missions.
+ |
+
SystemResourceHandler<MissionHistory> |
+getHandler()
+The getHandler function is used to return a SystemResourceHandler object that can be used to
+ access the MissionHistory object.
+ |
+
List<Mission> |
+getMissionsByParticipant(Participant participant)
+The getMissionsByParticipant function returns a list of missions that the participant is involved in.
+ |
+
List<Mission> |
+getMissionsByTask(Task task)
+The getMissionsByTask function returns a list of missions that belong to the task passed in as an argument.
+ |
+
List<Mission> |
+getUnfinishedMissions()
+The getUnfinishedMissions function returns a list of all the missions that are unfinished.
+ |
+
void |
+newMission(Task task,
+ List<Participant> participants) |
+
public void newMission(Task task, + List<Participant> participants)+
public List<Mission> getUnfinishedMissions()+
public List<Mission> getFinishedMissions()+
public List<Mission> getMissionsByTask(Task task)+
task - Filter the missions by taskpublic List<Mission> getMissionsByParticipant(Participant participant)+
participant - Filter the missionspublic SystemResourceHandler<MissionHistory> getHandler()+
getHandler in interface Resource<MissionHistory>SystemResourceHandler objectCopyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/system/resource/MissionUpdateException.html b/target/staging/apidocs/cn/crowdos/kernel/system/resource/MissionUpdateException.html new file mode 100644 index 0000000..78cd26a --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/system/resource/MissionUpdateException.html @@ -0,0 +1,264 @@ + + + + + + +public class MissionUpdateException +extends Exception+
| Constructor and Description | +
|---|
MissionUpdateException() |
+
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringCopyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/system/resource/ParticipantPool.html b/target/staging/apidocs/cn/crowdos/kernel/system/resource/ParticipantPool.html new file mode 100644 index 0000000..5f40b9f --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/system/resource/ParticipantPool.html @@ -0,0 +1,377 @@ + + + + + + +public class ParticipantPool +extends LinkedList<Participant> +implements Resource<ParticipantPool>+
modCount| Constructor and Description | +
|---|
ParticipantPool() |
+
| Modifier and Type | +Method and Description | +
|---|---|
SystemResourceHandler<ParticipantPool> |
+getHandler() |
+
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, set, size, spliterator, toArray, toArrayiteratorequals, hashCode, listIterator, removeRange, subListcontainsAll, isEmpty, removeAll, retainAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCode, isEmpty, iterator, listIterator, removeAll, replaceAll, retainAll, sort, subListparallelStream, removeIf, streampublic SystemResourceHandler<ParticipantPool> getHandler()+
getHandler in interface Resource<ParticipantPool>Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/system/resource/Resource.html b/target/staging/apidocs/cn/crowdos/kernel/system/resource/Resource.html new file mode 100644 index 0000000..b886d87 --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/system/resource/Resource.html @@ -0,0 +1,231 @@ + + + + + + +public interface Resource<T>
+| Modifier and Type | +Method and Description | +
|---|---|
SystemResourceHandler<T> |
+getHandler() |
+
SystemResourceHandler<T> getHandler()+
Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/system/resource/ResourceContainer.html b/target/staging/apidocs/cn/crowdos/kernel/system/resource/ResourceContainer.html new file mode 100644 index 0000000..0d33ab0 --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/system/resource/ResourceContainer.html @@ -0,0 +1,324 @@ + + + + + + +public abstract class ResourceContainer<T> +extends Object +implements Resource<T>+
| Modifier and Type | +Field and Description | +
|---|---|
protected T |
+resource |
+
| Constructor and Description | +
|---|
ResourceContainer(T resource) |
+
| Modifier and Type | +Method and Description | +
|---|---|
abstract SystemResourceHandler<T> |
+getHandler() |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/system/resource/TaskPool.html b/target/staging/apidocs/cn/crowdos/kernel/system/resource/TaskPool.html new file mode 100644 index 0000000..26fd1ff --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/system/resource/TaskPool.html @@ -0,0 +1,377 @@ + + + + + + +public class TaskPool +extends LinkedList<Task> +implements Resource<TaskPool>+
modCount| Modifier and Type | +Method and Description | +
|---|---|
SystemResourceHandler<TaskPool> |
+getHandler() |
+
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, set, size, spliterator, toArray, toArrayiteratorequals, hashCode, listIterator, removeRange, subListcontainsAll, isEmpty, removeAll, retainAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCode, isEmpty, iterator, listIterator, removeAll, replaceAll, retainAll, sort, subListparallelStream, removeIf, streampublic SystemResourceHandler<TaskPool> getHandler()+
getHandler in interface Resource<TaskPool>Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/system/resource/class-use/AlgoContainer.html b/target/staging/apidocs/cn/crowdos/kernel/system/resource/class-use/AlgoContainer.html new file mode 100644 index 0000000..bdf702f --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/system/resource/class-use/AlgoContainer.html @@ -0,0 +1,126 @@ + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/system/resource/class-use/Mission.html b/target/staging/apidocs/cn/crowdos/kernel/system/resource/class-use/Mission.html new file mode 100644 index 0000000..7022aae --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/system/resource/class-use/Mission.html @@ -0,0 +1,210 @@ + + + + + + +| Package | +Description | +
|---|---|
| cn.crowdos.kernel.system.resource | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
List<Mission> |
+MissionHistory.getFinishedMissions()
+The getFinishedMissions function returns a list of all the finished missions.
+ |
+
List<Mission> |
+MissionHistory.getFinishedMissions()
+The getFinishedMissions function returns a list of all the finished missions.
+ |
+
List<Mission> |
+MissionHistory.getMissionsByParticipant(Participant participant)
+The getMissionsByParticipant function returns a list of missions that the participant is involved in.
+ |
+
List<Mission> |
+MissionHistory.getMissionsByParticipant(Participant participant)
+The getMissionsByParticipant function returns a list of missions that the participant is involved in.
+ |
+
List<Mission> |
+MissionHistory.getMissionsByTask(Task task)
+The getMissionsByTask function returns a list of missions that belong to the task passed in as an argument.
+ |
+
List<Mission> |
+MissionHistory.getMissionsByTask(Task task)
+The getMissionsByTask function returns a list of missions that belong to the task passed in as an argument.
+ |
+
List<Mission> |
+MissionHistory.getUnfinishedMissions()
+The getUnfinishedMissions function returns a list of all the missions that are unfinished.
+ |
+
List<Mission> |
+MissionHistory.getUnfinishedMissions()
+The getUnfinishedMissions function returns a list of all the missions that are unfinished.
+ |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/system/resource/class-use/MissionHistory.html b/target/staging/apidocs/cn/crowdos/kernel/system/resource/class-use/MissionHistory.html new file mode 100644 index 0000000..d673184 --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/system/resource/class-use/MissionHistory.html @@ -0,0 +1,176 @@ + + + + + + +| Package | +Description | +
|---|---|
| cn.crowdos.kernel.system.resource | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
SystemResourceHandler<MissionHistory> |
+MissionHistory.getHandler()
+The getHandler function is used to return a SystemResourceHandler object that can be used to
+ access the MissionHistory object.
+ |
+
SystemResourceHandler<MissionHistory> |
+MissionHistory.getHandler()
+The getHandler function is used to return a SystemResourceHandler object that can be used to
+ access the MissionHistory object.
+ |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/system/resource/class-use/MissionUpdateException.html b/target/staging/apidocs/cn/crowdos/kernel/system/resource/class-use/MissionUpdateException.html new file mode 100644 index 0000000..a459733 --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/system/resource/class-use/MissionUpdateException.html @@ -0,0 +1,188 @@ + + + + + + +| Package | +Description | +
|---|---|
| cn.crowdos.kernel.system.resource | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
void |
+Mission.updateSubmit(Participant participant)
+The updateSubmit function updates the participant's submission time to the current time.
+ |
+
void |
+Mission.updateSubmit(Participant participant)
+The updateSubmit function updates the participant's submission time to the current time.
+ |
+
void |
+Mission.updateSubmit(Participant participant,
+ Date submitTime)
+The updateSubmit function is used to update the submit time of a participant.
+ |
+
void |
+Mission.updateSubmit(Participant participant,
+ Date submitTime)
+The updateSubmit function is used to update the submit time of a participant.
+ |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/system/resource/class-use/ParticipantPool.html b/target/staging/apidocs/cn/crowdos/kernel/system/resource/class-use/ParticipantPool.html new file mode 100644 index 0000000..cb850fe --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/system/resource/class-use/ParticipantPool.html @@ -0,0 +1,170 @@ + + + + + + +| Package | +Description | +
|---|---|
| cn.crowdos.kernel.system.resource | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
SystemResourceHandler<ParticipantPool> |
+ParticipantPool.getHandler() |
+
SystemResourceHandler<ParticipantPool> |
+ParticipantPool.getHandler() |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/system/resource/class-use/Resource.html b/target/staging/apidocs/cn/crowdos/kernel/system/resource/class-use/Resource.html new file mode 100644 index 0000000..eb644ad --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/system/resource/class-use/Resource.html @@ -0,0 +1,308 @@ + + + + + + +| Package | +Description | +
|---|---|
| cn.crowdos.kernel | ++ |
| cn.crowdos.kernel.Incentive | ++ |
| cn.crowdos.kernel.system | ++ |
| cn.crowdos.kernel.system.resource | ++ |
| Modifier and Type | +Class and Description | +
|---|---|
class |
+Scheduler |
+
| Modifier and Type | +Interface and Description | +
|---|---|
interface |
+CredibilityBasedIncentive
+This interface defines an incentive-based approach to trustworthiness.
+ |
+
| Modifier and Type | +Class and Description | +
|---|---|
class |
+CredibilityBasedIncentiveImpl
+CredibilityBasedIncentiveImpl is a concrete implementation of a credibility-based incentive.
+ |
+
| Modifier and Type | +Method and Description | +
|---|---|
void |
+SystemResourceCollection.register(Resource<?> resource) |
+
void |
+SystemResourceCollection.register(Resource<?> resource) |
+
void |
+SystemResourceCollection.register(Resource<?> resource,
+ String resourceName) |
+
void |
+SystemResourceCollection.register(Resource<?> resource,
+ String resourceName) |
+
| Modifier and Type | +Method and Description | +
|---|---|
<T> SystemResourceHandler<T> |
+SystemResourceCollection.getResourceHandler(Class<? extends Resource<T>> resourceClass) |
+
<T> SystemResourceHandler<T> |
+SystemResourceCollection.getResourceHandler(Class<? extends Resource<T>> resourceClass) |
+
<T> SystemResourceHandler<T> |
+SystemResourceCollection.getResourceHandler(Class<? extends Resource<T>> resourceClass,
+ String resourceName) |
+
<T> SystemResourceHandler<T> |
+SystemResourceCollection.getResourceHandler(Class<? extends Resource<T>> resourceClass,
+ String resourceName) |
+
| Modifier and Type | +Class and Description | +
|---|---|
class |
+AlgoContainer |
+
class |
+MissionHistory
+MissionHistory records all active and completed missions in the system.
+ |
+
class |
+ParticipantPool |
+
class |
+ResourceContainer<T> |
+
class |
+TaskPool |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/system/resource/class-use/ResourceContainer.html b/target/staging/apidocs/cn/crowdos/kernel/system/resource/class-use/ResourceContainer.html new file mode 100644 index 0000000..3122789 --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/system/resource/class-use/ResourceContainer.html @@ -0,0 +1,166 @@ + + + + + + +| Package | +Description | +
|---|---|
| cn.crowdos.kernel.system.resource | ++ |
| Modifier and Type | +Class and Description | +
|---|---|
class |
+AlgoContainer |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/system/resource/class-use/TaskPool.html b/target/staging/apidocs/cn/crowdos/kernel/system/resource/class-use/TaskPool.html new file mode 100644 index 0000000..3a72a53 --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/system/resource/class-use/TaskPool.html @@ -0,0 +1,170 @@ + + + + + + +| Package | +Description | +
|---|---|
| cn.crowdos.kernel.system.resource | ++ |
| Modifier and Type | +Method and Description | +
|---|---|
SystemResourceHandler<TaskPool> |
+TaskPool.getHandler() |
+
SystemResourceHandler<TaskPool> |
+TaskPool.getHandler() |
+
Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/system/resource/package-frame.html b/target/staging/apidocs/cn/crowdos/kernel/system/resource/package-frame.html new file mode 100644 index 0000000..87dc0e9 --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/system/resource/package-frame.html @@ -0,0 +1,34 @@ + + + + + + +| Interface | +Description | +
|---|---|
| Resource<T> | ++ |
| Class | +Description | +
|---|---|
| AlgoContainer | ++ |
| Mission | +
+ Mission maintains the execution of tasks in the system, reporting over task assignment
+ results, task submission order, etc.
+ |
+
| MissionHistory | +
+ MissionHistory records all active and completed missions in the system.
+ |
+
| ParticipantPool | ++ |
| ResourceContainer<T> | ++ |
| TaskPool | ++ |
| Exception | +Description | +
|---|---|
| MissionUpdateException | ++ |
Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/system/resource/package-tree.html b/target/staging/apidocs/cn/crowdos/kernel/system/resource/package-tree.html new file mode 100644 index 0000000..375d0a1 --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/system/resource/package-tree.html @@ -0,0 +1,176 @@ + + + + + + +Copyright © 2023. All rights reserved.
+ + diff --git a/target/staging/apidocs/cn/crowdos/kernel/system/resource/package-use.html b/target/staging/apidocs/cn/crowdos/kernel/system/resource/package-use.html new file mode 100644 index 0000000..7e52a50 --- /dev/null +++ b/target/staging/apidocs/cn/crowdos/kernel/system/resource/package-use.html @@ -0,0 +1,239 @@ + + + + + + +| Package | +Description | +
|---|---|
| cn.crowdos.kernel | ++ |
| cn.crowdos.kernel.Incentive | ++ |
| cn.crowdos.kernel.system | ++ |
| cn.crowdos.kernel.system.resource | ++ |
| Class and Description | +
|---|
| Resource | +
| Class and Description | +
|---|
| Resource | +
| Class and Description | +
|---|
| Resource | +
| Class and Description | +
|---|
| Mission
+ Mission maintains the execution of tasks in the system, reporting over task assignment
+ results, task submission order, etc.
+ |
+
| MissionHistory
+ MissionHistory records all active and completed missions in the system.
+ |
+
| MissionUpdateException | +
| ParticipantPool | +
| Resource | +
| ResourceContainer | +
| TaskPool | +
Copyright © 2023. All rights reserved.
+ +