-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathClDummyVariable.java
48 lines (37 loc) · 988 Bytes
/
ClDummyVariable.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// $Id$
//
// Cassowary Incremental Constraint Solver
// Original Smalltalk Implementation by Alan Borning
// This Java Implementation by Greg J. Badros, <[email protected]>
// http://www.cs.washington.edu/homes/gjb
// (C) 1998, 1999 Greg J. Badros and Alan Borning
// See ../LICENSE for legal details regarding this software
//
// ClDummyVariable
//
package EDU.Washington.grad.gjb.cassowary;
class ClDummyVariable extends ClAbstractVariable
{
// friend ClTableau;
// friend ClSimplexSolver;
public ClDummyVariable(String name)
{
super(name);
}
public ClDummyVariable()
{ }
public ClDummyVariable(long number, String prefix)
{
super(number,prefix);
}
public String toString()
{ return "[" + name() + ":dummy]"; }
public boolean isDummy()
{ return true; }
public boolean isExternal()
{ return false; }
public boolean isPivotable()
{ return false; }
public boolean isRestricted()
{ return true; }
}