cratepy.ioput.readprocedures.read_rewind_state_parameters

read_rewind_state_parameters(file, file_path, keyword)[source]

Read the solution rewind state criterion parameters.

The specification of the data associated with the solution rewind state criterion has the following input data file syntax:

1Analysis_Rewinding
2Analysis_Rewind_State_Criterion < criterion > < parameter_value >
3Analysis_Rewinding_Criterion < criterion > < parameter_value >
4[Max_Number_of_Rewinds < int >]

where criterion (str) is the solution rewind state criterion name and parameter_value ({int, float}) is the corresponding parameter value.


Parameters:
  • file (file) – Data file.

  • file_path (str) – Data file path.

  • keyword (str) – Keyword.

Returns:

rewind_state_criterion – Rewind state storage criterion [0] and associated parameter [1].

Return type:

tuple