Child pages
  • Practical Java Algorithm Development

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


Wiki Markup
There are a few noteworthy things going on here. You will notice that the AttackToleranceAlgorithm class has a constructor, which accepts all the objects it needs to  perform its task. The Data\[\] object contains an array of input data from  the CIShell Data Manager, which the user  has chosen to perform this algorithm on. In the case of our algorithm,  the data array will contain zero element: a Jung Graph, because this is  what we specified in our in_data property. The parameters Dictionary  contains input values from the user-input parameters GUI, which is  always shown to users before an algorithm is run. The CIShellContext allows the algorithm to access various services from the CIShell environment. See the [CIShell Specification] xxxxx for information on the various services that are accessible through the CIShellContext.