-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
api4/datastructure/src/main/java/org/api4/java/datastructure/graph/implicit/ISuccessorGenerator.java
Lines 15 to 23 in 890d506
| /** | |
| * Generate the successors for a given node. | |
| * | |
| * @param node | |
| * The node we want to expand. | |
| * @return A list of possible next steps. | |
| */ | |
| public List<INewNodeDescription<N, A>> generateSuccessors(N node) throws InterruptedException; | |
The name of the function implies that it is only called in the generation process of the graph. However the function is called successfully with the same value and the algorithms seem to expect the same result.
This means i have to memoize the function to avoid double calculations.
Here is an example usage that shows that the function is not only used in the generation
Metadata
Metadata
Assignees
Labels
No labels