@sew< workflow , 1.0 >:

// Symbolic Execution Workflow
// Diversity Tool Configuration
// CEA - LIST
workflow {
	workspace [
		root   = "C:/Diversity/TP/workspace-training/Diversity"
		output = "Test/Output"
		log    = "log"
		debug  = "debug"
	] // end workspace
	director exploration 'as main execution objective' {
		manifest [
			autoconf  = true
			autostart = true
		] // end manifest
		project 'path of input model' [
			source = "C:/Diversity/TP/workspace-training/DiversitySpecification"
			model  = "thermostatSystem.xlia"
		] // end project
		supervisor {
			limit 'of graph exploration' [
				step = 100
			] // end limit
			queue 'defining the exploration/search strategy' [
				strategy = 'WEIGHT#BREADTH_FIRST_SEARCH'
				heuristic = true
			] // end queue
			console [
				format = "\nstep:%1% , context:%2% , height:%3% , width:%4%"
				report = "\nstop:%1% , context:%2% , height:%3% , width:%4%"
			] // end console
		}
		worker [
			test#offline offline_test {
				merged_trace [
					mergedTraceFile = "C:/Diversity/TP/workspace-training/Diversity/Test/mergeTrace.txt"
					testPurposeFile = "C:/Diversity/TP/workspace-training/Diversity/Test/test_purpose.txt"
				] // end queue
				observable [
					// [*] , use for ANY element w.r.t. the kind
					// com_element_id ::= <port_name_id> | <signal_name_id>
					// com = <machine_name_id> -> <com_element_id>
					// input = <machine_name_id> -> <com_element_id>
					// output = <machine_name_id> -> <com_element_id>
				] // end observable
				controllable [
					input#env = "[*]"
				] // end controllable
			}
		] // end worker
	}
	symbex 'option' [
		separation_of_pc_disjunction = false
		check_pathcondition_satisfiability = true
		constraint_solver = 'CVC4'  // Z3
	] // end symbex
	console [
		verbose = 'MEDIUM'
	] // end console
	shell [
		// Stop stop the current execution if it detects the creation of the above file !
		stop = "symbex.stop"
	] // end shell
	developer 'tuning options' [
		log   = 'symbex.log'
		debug = 'symbex.dbg'
		level = 'ULTRA'
		// Enable debug trace flags
		flag = 'PARSING'
		flag = 'CONFIGURE'
		flag = 'ALL_PROCESS_STAGE'
		flag = 'PROCESSING'
		flag = 'TRACE'
	] // end developer
}

//EOF of @sew< workflow , 1.0 >:

/*
# Grammar Reference

## Trace Specification
- [*] , use for ANY element
- com_element_id ::= <port_name_id> | <signal_name_id>
- com = <com_element_id>
- input = <com_element_id>
- output = <com_element_id>
- input#env = <com_element_id>
- output#env = <com_element_id>

- variable = <variable_name_id>
- newfresh = <variable_name_id>
- state = <state_name_id>
- transition = <transition_name_id>
- statemachine = <statemachine_name_id>


## Trace Format Specification
- line#wrap#width = 80
- line#wrap#separator = "\n\	"

// %1% --> ec#id
// %2% --> ec#eval
// %3% --> ec#hight
// %4% --> ec#width
// %5% --> ec#weight
// %6% --> statemachine configuration i.e. control node
- context#ufid = "ctx< %1% > %6%"

// %1% --> trace number
// %2% --> execution context leaf identifier
- header = "TRACE NUMBER %1%"
- end    = ""
- init#begin = "\t// Initialization parameter values:"
- init#end   = "\n"

// %1% --> string message
// %2% --> execution context identifier
- comment   = "//%1%"
- separator = "%1%"
- newline   = "
%1%"

// %1% --> step identifier
// %2% --> execution context identifier
- step#begin = "\t#step#begin %1%"
- step#end   = "\t#step#end %1%"

// %1% --> condition
// %2% --> execution context identifier
- path#condition = "\tPC: %1%"
- path#timed#condition = "\tPtC: %1%"
- node#condition = "\tNC: %1%"
- node#timed#condition = "\tNtC: %1%"

// %1% --> machine runtime pid
// %2% --> machine container identifier
// %3% --> port | signal | variable | machine | transition | routine
// %4% --> value
- time   = "\t%4%"
- assign = "\t%2%:%3% = %4%"
- newfresh = "\tnewfresh %2%->%3%( %4% )"
- input  = "\tinput  %2%->%3%( %4% )"
- output = "\toutput %2%->%3%( %4% )"
- input#env  = "\tINPUT  %2%->%3%( %4% )"
- output#env = "\tOUTPUT %2%->%3%( %4% )"

*/
