Package fi.tut.mei.capabilityQueryLib
Class DeviceCombinationGenerator
- java.lang.Object
-
- fi.tut.mei.capabilityQueryLib.DeviceCombinationGenerator
-
public class DeviceCombinationGenerator extends Object
Used to generate device combination possibilities for a given capability from devices in a client.- Author:
- hylli
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.jena.ontology.OntModel
getCombinationPossibilities(String fileName)
Find all device combination possibilities that have the given combined capabilities and can be formed from the device blueprints in the ontology.
-
-
-
Method Detail
-
getCombinationPossibilities
public org.apache.jena.ontology.OntModel getCombinationPossibilities(String fileName)
Find all device combination possibilities that have the given combined capabilities and can be formed from the device blueprints in the ontology. The combined capabilities and capability parameters of the possibilities will be saved to the returned ontology model which will be written to a file with the given name.- Parameters:
fileName
- Name of the ontology model where the ontology containing the possibilities will be written. If null the ontology will not be written to a file.- Returns:
- Ontology model containing the generated combinations and their capabilities.
-
-