Class CountLoopStrategy
java.lang.Object
com.alibaba.cloud.ai.graph.agent.flow.agent.loop.CountLoopStrategy
- All Implemented Interfaces:
LoopStrategy
Fixed count loop strategy
- Since:
- 2025/11/1
- Author:
- vlsmb
-
Field Summary
Fields inherited from interface com.alibaba.cloud.ai.graph.agent.flow.agent.loop.LoopStrategy
DISPATCH_NODE_NAME, INIT_NODE_NAME, ITERABLE_ELEMENT_COUNT, LOOP_COUNT_PREFIX, LOOP_FLAG_PREFIX, LOOP_LIST_PREFIX, MESSAGE_KEY -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.alibaba.cloud.ai.graph.agent.flow.agent.loop.LoopStrategy
loopCountKey, loopDispatchNodeName, loopFlagKey, loopInitNodeName, loopListKey, maxLoopCount, tempKeys, uniqueKey
-
Constructor Details
-
CountLoopStrategy
public CountLoopStrategy(int maxCount)
-
-
Method Details
-
loopInit
- Specified by:
loopInitin interfaceLoopStrategy
-
loopDispatch
- Specified by:
loopDispatchin interfaceLoopStrategy
-