This class is designed to perform personnalisation tests

package tests
author bruno

 Methods

Construct a GraphTest Instance

__construct(\unknown_type $d) 

Parameters

$d

\unknown_type

perform the tests

doTest() 

Log and manage the constraints form

constraintsForm() 

Log and manage the elaboration form

elaborationForm() 

Return an array of files url contained in the $workingDir/$d directory

getDirectoryList(string $d) 

Parameters

$d

string

the sub directory of $workingDir to inspect

Return an array containing the names of the reference graphs

getRefGraphs() : 

Returns

log the HTML headers for the test page

headers() 

Load reference graph located in $workingDir/graphs/reference1.xml

loadGraph() 

Load available profiles located in $workingDir/profiles

loadProfiles() 

Load available ressources located in $workingDir/ressources

loadRessources() 

Launch the elaboration algorithm

performElaboration() 

Load working knowledge sources from directory $d Display first part of the personalisation test suite

persoKSources() 

determine action performed based on $this->action value and set up variables

selectAction() 

 Properties

 

$action : string
 

number of elaboration constraints

$nbEdges : int
 

$profiles : \PMDLEProfile[]
 

$refGraph : \PedagogicalGraph
 

$ressources : \PedagogicalRessource[]
 

$workingDir : string

 Constants

 

GO_TEXT

GO_TEXT 
 

GO_TEXT_ELAB

GO_TEXT_ELAB