#------------------------------------------------------------------------------- # Copyright (c) 2011, BAE Systems. # Developed with the sponsorship of the Defense Advanced Research Projects Agency (DARPA). # # Permission is hereby granted, free of charge, to any person obtaining a copy of this data, # including any software or models in source or binary form, as well as any drawings, # specifications, and documentation (collectively "the Data"), to deal in the Data without restriction, # including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, # and/or sell copies of the Data, and to permit persons to whom the Data is furnished to do so, # subject to the following conditions: # # The above copyright notice and this permission notice shall be included in all copies or substantial # portions of the Data. # # THE DATA IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING # BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE # AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS, SPONSORS, DEVELOPERS, CONTRIBUTORS, # OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN # ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE # DATA OR THE USE OR OTHER DEALINGS IN THE DATA. #------------------------------------------------------------------------------- [ { "action" : "create", "preConditions" : {}, "postConditions" : {} }, { "type" : "node", "ComputeBBNMetric" : { "valueType" : "external", "className" : "com.bae.meta.amilextern.GenericExecutable", "executableIsScript" : 1, "parameterMap" : ["Values", "MetricName"], "parameterFormat" : " {3} {1}" # These two lines can be swapped, if s-rules.pro also gets its motor specs swapped. # Line above is for _3 models; line below, for the original. # "parameterFormat" : "-ManTime {1}" } }, { "type" : "node", "BBNMetric" : { "valueType":"metric", "name":"BBNMetric" } }, { "type" : "node", "EvaluateSignalEntropy" : { "valueType":"metric:eval", "className":"meta.metrics.eval.EvaluateModels", "name":"EvaluateSignalEntropy", "fieldsToExtract":["value"] } }, { "type" : "node", "SignalEntropy" : { "valueType":"external", "className":"meta.metrics.measure.DesignConcept", "name":"SignalEntropy", "targetNode":"ComputeBBNMetric", "targetProp.MetricName": "SignalEntropy", "targetProp.Values": "measurements:[1.2,3.4,5.6]", "targetProp.executableName" : "run_bbn_test" } }, { "type" : "edge", "SignalEntropy" : { "type" : "metric:externalMeasure", "from" : "EvaluateSignalEntropy", "to" : "SignalEntropy" } }, { "type" : "edge", "BBNMetric" : { "type" : "metric:eval", "from" : "BBNMetric", "to" : "EvaluateSignalEntropy" } } ]