jhu.htmIndex
Class SpatialSign

java.lang.Object
  |
  +--jhu.htmIndex.SpatialSign
Direct Known Subclasses:
SpatialConstraint, SpatialConvex

public class SpatialSign
extends java.lang.Object

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.

Author:
Peter Kunszt

Field Summary
static short mIXED
           
static short nEG
           
static short pOS
           
 short sign_
           
static short zERO
           
 
Constructor Summary
(package private) SpatialSign()
           
(package private) SpatialSign(short sign)
           
 
Method Summary
 java.lang.String printSign()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nEG

public static final short nEG

zERO

public static final short zERO

pOS

public static final short pOS

mIXED

public static final short mIXED

sign_

public short sign_
Constructor Detail

SpatialSign

SpatialSign()

SpatialSign

SpatialSign(short sign)
Method Detail

printSign

public java.lang.String printSign()