|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgenopt.lang.ObjectiveFunctionLocation
public class ObjectiveFunctionLocation
Object representing the objective function location.
This project was carried out at:
and supported byGenOpt Copyright (c) 1998-2011, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from the U.S. Dept. of Energy). All rights reserved.
| Field Summary | |
|---|---|
protected java.lang.String |
Delimiter
The delimiter of the objective function, or null |
protected int |
firstCharAt
One-based index for the position where the first character of the delimiter starts, or 0 if unspecified |
protected java.lang.String |
Function
The function defining the objective function, or null |
protected boolean |
IsFunction
Flag whether this instance is a function or not |
private static java.lang.String |
LS
Line separator |
protected java.lang.String |
Name
The name of the objective function |
| Constructor Summary | |
|---|---|
ObjectiveFunctionLocation(java.lang.String name,
java.lang.String delimiter,
int firstCharacterAt,
java.lang.String function)
Constructor. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDelimiter()
|
int |
getFirstCharAt()
|
java.lang.String |
getFunction()
|
java.lang.String |
getName()
|
boolean |
isFunction()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final java.lang.String LS
protected java.lang.String Name
protected java.lang.String Delimiter
null
protected java.lang.String Function
null
protected int firstCharAt
protected boolean IsFunction
| Constructor Detail |
|---|
public ObjectiveFunctionLocation(java.lang.String name,
java.lang.String delimiter,
int firstCharacterAt,
java.lang.String function)
delimiter or function must be
null, but not both.
name - name of the functiondelimiter - objective function delimiter, or null
pointerfirstCharacterAt - one-based index for the position
where the first character of the delimiter starts,
or 0 if unspecifiedfunction - string representation of the function, or null
pointer| Method Detail |
|---|
public boolean isFunction()
public java.lang.String getName()
public java.lang.String getDelimiter()
public java.lang.String getFunction()
public int getFirstCharAt()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||