Adds a typed child object to the dynamics object.

        @param child: Child object to be added.

def add(self, child):
        """
        Adds a typed child object to the dynamics object.

        @param child: Child object to be added.
        """

        if isinstance(child, Regime):
            self.add_regime(child)
        else:
            Behavioral.add(self, child)