* actor with this name.
*/
public SequentialClock(CompositeEntity container, String name) throws NameDuplicationException, IllegalActionException {
super(container, name);
output = new TypedIOPort(this, "output", false, true);
period = new Parameter(this, "period", new DoubleToken(2.0));
period.setTypeEquals(BaseType.DOUBLE);
offsets = new Parameter(this, "offsets");
offsets.setExpression("{0.0, 1.0}");
offsets.setTypeEquals(new ArrayType(BaseType.DOUBLE));
attributeChanged(offsets);
IntToken[] defaultValues = new IntToken[2];
defaultValues[0] = new IntToken(1);
defaultValues[1] = new IntToken(0);
ArrayToken defaultValueToken = new ArrayToken(BaseType.INT, defaultValues);
values = new Parameter(this, "values", defaultValueToken);
output.setTypeAtLeast(ArrayType.elementType(values));
attributeChanged(values);
}