SDA SE Wiki

Software Engineering for Smart Data Analytics & Smart Data Analytics for Software Engineering

User Tools

Site Tools


Differences

This shows you the differences between two versions of the page.

Link to this comparison view

research:cultivate:prologdetectorapi [2018/05/09 01:59] (current)
Line 1: Line 1:
 +<​Code>​ 
 +/** 
 + * detector_description(+name,​-helptext,​-reference_role,​-rating_information) 
 + * 
 + * @param name  
 + ​* name of the respective detector. 
 + * @param helptext 
 + ​* help text. 
 + * @param reference_role 
 + ​* name of the role that contains reference ids that can be used 
 + * to visualize the result 
 + * @param rating_information 
 + ​* information about how to interpret the ratings returned by this 
 + ​*  ​       detector.  
 + ​*  
 + ​* possible values are: 
 + * 
 + * - float(range(LOWER,​UPPER),​ defaultthresholds(LOWER,​UPPER)) 
 + ​*  ​ float intervals, LOWER and UPPER can be float values or infinity 
 + * - int(range(LOWER,​UPPER),​ defaultthresholds(LOWER,​UPPER)) 
 + ​*  ​ integer intervals, LOWER and UPPER can be int values or infinity 
 + ​*  ​       - unrated 
 + ​*  ​ for unrated occurences (rating should be '​occurrence'​ then) 
 + */ 
 +:- multifile detector_description/​4.</​Code><​Code>​ 
 +/** 
 + * detector(+name,​ -rating, -[(role_name,​ role_id)+], -[(relation_name,​ [relation_id+])*]) 
 + * 
 + * @param name  
 + ​* name of the detector. 
 + * @param rating 
 + ​* the rating for this result. It should be in the value range  
 + ​* specified in the description. 
 + * @param [(role_name,​ role_id)+] 
 + * list of tuples that bind ids to a special role. The same role can 
 + ​* have multiple ids, an Id can have multiple roles. 
 + * @param [(relation_name,​ [relation_id+])*] 
 + ​* relations 
 + */ 
 +:- multifile detector/​4.</​Code>​
research/cultivate/prologdetectorapi.txt · Last modified: 2018/05/09 01:59 (external edit)

SEWiki, © 2019