Skip to content

load_tartarus_state

Tushar Semwal edited this page Oct 15, 2017 · 2 revisions

Syntax:

load_tartarus_state(FileName)   %  Loads the state of the platform saved in a file. 
FileName: <atom +>

Description:

This predicate is used in conjunction with save_tartarus_state/1. The state of the platform can be resumed by calling this predicate. It asserts all the associated predicates within the file FileName and asserts all the agents and related handler code. It also restarts all agents which were running at the time of save_tartarus_state/1 predicate was called.

Example:

?- load_tartarus_state(‘E:\\platform_state.txt’).
Clone this wiki locally