cuikcost.c File Reference Detailed Description![]() A tool compute the cost of a given set of configurations. In the world files the cost is defined using the "avoid limit" clause. In the cuik files it can be defined as an arbitrary equation invoving the problem variables. This program gets a solution file, computes the cost for all solutions and generates a cost file that can be latter used to visualize the configuration spaces (using for instance cuikplotatlas). Definition in file cuikcost.c.
Function Documentation
Main body of the cuikcost application. A tool compute the cost of a given set of configurations. In the world files the cost is defined using the "avoid limit" clause. In the cuik files it can be defined as an arbitrary equation invoving the problem variables. This program gets a solution file, computes the cost for all solutions and generates a cost file that can be latter used to visualize the configuration spaces (using for instance cuikplotatlas). Use:
where
The file extensions are not required.
Definition at line 79 of file cuikcost.c. References Advance(), COST_EXT, CreateFileName(), CS_WD_COST, CS_WD_DELETE, CS_WD_INIT, DeleteFileName(), DeleteListOfBoxes(), DeleteParameters(), EndOfList(), Error(), FALSE, First(), GetBoxCenter(), GetBoxNIntervals(), GetCurrent(), GetFileFullName(), InitIterator(), InitParametersFromFile(), ListSize(), NEW, PARAM_EXT, ReadListOfBoxes(), and SOL_EXT. |
Follow us!