Uses of Record Class
com.tnsai.coordination.decision.DecisionProposal
Packages that use DecisionProposal
-
Uses of DecisionProposal in com.tnsai.coordination.decision
Methods in com.tnsai.coordination.decision that return DecisionProposalModifier and TypeMethodDescriptionstatic DecisionProposalCreates a proposal with default settings.static DecisionProposalDecisionProposal.of(String topic, List<String> options, VotingMethod method) Creates a proposal with a specific voting method.static DecisionProposalDecisionProposal.of(String topic, List<String> options, VotingMethod method, Duration timeout, int quorum) Creates a proposal with full configuration.DefaultGroupDecisionFramework.propose(String topic, List<String> options, VotingMethod method) GroupDecisionFramework.propose(String topic, List<String> options, VotingMethod method) Creates a decision proposal.Methods in com.tnsai.coordination.decision with parameters of type DecisionProposalModifier 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.DefaultGroupDecisionFramework.vote(com.tnsai.agents.groups.AgentGroup group, DecisionProposal proposal) GroupDecisionFramework.vote(com.tnsai.agents.groups.AgentGroup group, DecisionProposal proposal) Collects votes from all group members on a proposal.