Cream.AllenTemporal.AllenVariable.Precedes C# (CSharp) Method

Precedes() public method

public Precedes ( AllenVariable v ) : void
v AllenVariable
return void
        public virtual void Precedes(AllenVariable v)
        {
            Network net = Network;
            // this Precedes v
            if (this != v)
            {
                new AllenConstraint(net, AllenEvents.PRECEDES, this, v);
            }
            else
            {
                throw new NotImplementedException("Variable cannot event itself!!");
            }
        }