Uses of Record Class
com.tnsai.coordination.ScatterGather.AgentResponse
Packages that use ScatterGather.AgentResponse
Package
Description
Multi-agent coordination patterns and shared problem-solving infrastructure.
-
Uses of ScatterGather.AgentResponse in com.tnsai.coordination
Methods in com.tnsai.coordination that return ScatterGather.AgentResponseModifier and TypeMethodDescriptionstatic ScatterGather.AgentResponsestatic ScatterGather.AgentResponsestatic ScatterGather.AgentResponseMethods in com.tnsai.coordination that return types with arguments of type ScatterGather.AgentResponseModifier and TypeMethodDescriptionScatterGather.ScatterResults.failed()ScatterGather.ScatterResults.fastest()static Optional<ScatterGather.AgentResponse> ScatterGather.gatherWithConsensus(String message, List<? extends com.tnsai.agents.Agent> agents, long timeout, TimeUnit unit) Gathers responses and selects by majority voting.static Optional<ScatterGather.AgentResponse> ScatterGather.gatherWithScore(String message, List<? extends com.tnsai.agents.Agent> agents, Function<String, Double> scorer, long timeout, TimeUnit unit) Gathers responses and selects the best one using a scoring function.static Optional<ScatterGather.AgentResponse> ScatterGather.race(String message, List<? extends com.tnsai.agents.Agent> agents, long timeout, TimeUnit unit) Sends message to multiple agents, returns the first successful response.ScatterGather.ScatterResults.responses()Returns the value of theresponsesrecord component.ScatterGather.ScatterResults.successful()Constructor parameters in com.tnsai.coordination with type arguments of type ScatterGather.AgentResponseModifierConstructorDescriptionScatterResults(List<ScatterGather.AgentResponse> responses, long totalDurationMs, int totalAgents) Creates an instance of aScatterResultsrecord class.