Class ParticleMutualInformation

    • Field Detail

      • output

        public TypedIOPort output
        The computed mutual information between particle sets.
      • particles

        public TypedIOPort particles
        Particles input that accepts an array of record tokens. One field of the record must be labeled as "weight". Other fields will be resolved to state variables.
      • locations

        public TypedIOPort locations
        The locations of the pursue robots that are producing the particle estimate.
      • jacobianOfMutualInformation

        public TypedIOPort jacobianOfMutualInformation
        Jacobian of the mutual information.
      • robotID

        public Parameter robotID
        Index of the robot which is optimizing location. Jacobian of mutual information will be dMI/dRob_i, where Rob_i is the location of robotID. If robotID < 0, Jacobian will be dMI/dRob_all.
    • Method Detail

      • attributeChanged

        public void attributeChanged​(Attribute attribute)
                              throws IllegalActionException
        Description copied from class: NamedObj
        React to a change in an attribute. This method is called by a contained attribute when its value changes. In this base class, the method does nothing. In derived classes, this method may throw an exception, indicating that the new attribute value is invalid. It is up to the caller to restore the attribute to a valid value if an exception is thrown.
        Overrides:
        attributeChanged in class NamedObj
        Parameters:
        attribute - The attribute that changed.
        Throws:
        IllegalActionException - If the change is not acceptable to this container (not thrown in this base class).
      • prefire

        public boolean prefire()
                        throws IllegalActionException
        Description copied from class: AtomicActor
        Return true. Derived classes override this method to define operations to be performed at the beginning of every iteration of its execution, prior the invocation of the fire() method. Derived classes may also use it to check preconditions for an iteration, if there are any.
        Specified by:
        prefire in interface Executable
        Overrides:
        prefire in class AtomicActor<TypedIOPort>
        Returns:
        True if this actor is ready for firing, false otherwise.
        Throws:
        IllegalActionException - Not thrown in this base class.
      • wrapup

        public void wrapup()
                    throws IllegalActionException
        Description copied from class: AtomicActor
        Do nothing except invoke the wrapup() methods of any objects that have been registered with addInitializable(). Derived classes override this method to define operations to be performed exactly once at the end of a complete execution of an application. It typically closes files, displays final results, etc.
        Specified by:
        wrapup in interface Initializable
        Overrides:
        wrapup in class AtomicActor<TypedIOPort>
        Throws:
        IllegalActionException - Not thrown in this base class.