Uses of Record Class
com.tnsai.coordination.decision.DecisionResult
Packages that use DecisionResult
-
Uses of DecisionResult in com.tnsai.coordination.decision
Methods in com.tnsai.coordination.decision that return DecisionResultModifier and TypeMethodDescriptionDefaultGroupDecisionFramework.converge(com.tnsai.agents.groups.AgentGroup group, List<Vote> votes, DecisionProposal proposal) GroupDecisionFramework.converge(com.tnsai.agents.groups.AgentGroup group, List<Vote> votes, DecisionProposal proposal) Tallies votes, determines outcome, saves trace, and broadcasts result.default DecisionResultGroupDecisionFramework.makeDecision(com.tnsai.agents.groups.AgentGroup group, DecisionProposal proposal) Convenience method: propose, vote, and converge in one call.Methods in com.tnsai.coordination.decision that return types with arguments of type DecisionResultModifier and TypeMethodDescriptionRetrieves a decision by its ID.DecisionTraceStore.list()Lists all stored decisions, newest first.InMemoryDecisionTraceStore.list()DecisionTraceStore.listByTopic(String topic) Lists decisions for a specific topic.InMemoryDecisionTraceStore.listByTopic(String topic) Methods in com.tnsai.coordination.decision with parameters of type DecisionResultModifier and TypeMethodDescriptionvoidDecisionTraceStore.save(DecisionResult result) Saves a decision result.voidInMemoryDecisionTraceStore.save(DecisionResult result)