Class KSAStarMain
java.lang.Object
org.ddolib.examples.nolayer.knapsack.KSAStarMain
Knapsack Problem (KS) with A*, using the no-layer modeling API.
This class demonstrates how to solve an instance of the Knapsack Problem using the A* search
algorithm, reusing the fast lower bound defined by KSModel.
-
Method Summary
-
Method Details
-
main
Entry point of the A* demonstration for the Knapsack Problem.- Parameters:
args- command-line arguments (optional: instance file path)- Throws:
IOException- if the instance file cannot be read
-