edu.jhu.htm.core
Class Sign
java.lang.Object
|
+--edu.jhu.htm.core.Sign
- Direct Known Subclasses:
- Constraint, Convex
- public class Sign
- extends java.lang.Object
Sign: Store the sign of the constraint/convex
The sign class is inherited by Constraint and Convex. Assignment and
copy operators are used in both scopes.
Valid signs are
Value |
Description |
Constraint |
Convex |
nEG |
negative |
d < 0 |
only negative and zero constraits |
zERO |
zero |
d = 0 |
only zero constraints |
pOS |
positive |
d > 0 |
only positive and zero constraints |
mIXED |
both negative and positive |
-- |
all kinds of constraints, at least one negative and one positive. |
Current Version
===============
ID: $Id: Sign.java,v 1.3 2003/02/19 15:46:11 womullan Exp $
Revision: $Revision: 1.3 $
Date/time: $Date: 2003/02/19 15:46:11 $
- Version:
- $Revision $
- Author:
- Peter Kunzt - port by wil
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nEG
public static final short nEG
- See Also:
- Constant Field Values
zERO
public static final short zERO
- See Also:
- Constant Field Values
pOS
public static final short pOS
- See Also:
- Constant Field Values
mIXED
public static final short mIXED
- See Also:
- Constant Field Values
sign_
public short sign_
printSign
public java.lang.String printSign()