This class represents the consequence of a Rule of personnalisation
Methods
Constructs a new Consequence instance, with an array of operations
__construct(string[] $o)
Parameters
$o
string[]the operations string array
Analyze the syntax of the consequence and returns a code:
<ul>
<li>0: consequence is valid</li>
<li>1xx: operation xx not valid</li>
</ul>
analyze() : int
Returns
intreturn code for analysis
apply the transformations on KSouces
TODO: only graph for the moment
apply(\KSource[] $ksp) : \the
Parameters
Returns
\themodified KSources TODO returns only graphs
build operations
buildOperations(string $c)
Parameters
$c
stringthe constraints string
Properties