XPRSenumerations.HeuristicSearchSelect
- java.lang.Object
-
- java.lang.Number
-
- com.dashoptimization.XPRSenumerations.BitVector
-
- com.dashoptimization.XPRSenumerations.HeuristicSearchSelect
-
- All Implemented Interfaces:
-
java.io.Serializable,java.lang.Comparable<XPRSenumerations.HeuristicSearchSelect>
- Enclosing interface:
- XPRSenumerations
public static final class XPRSenumerations.HeuristicSearchSelect extends XPRSenumerations.BitVector implements java.lang.Comparable<XPRSenumerations.HeuristicSearchSelect>
A bitvector of 'HEURSEARCHSELECT'. All instances of this enumeration will be drawn from combinations of the constant objects defined in this class. Instances of this class should be compared usingequals()rather than the equality operator.- See Also:
- Serialized Form
-
-
Field Summary
Modifier and Type Field Description static XPRSenumerations.HeuristicSearchSelectANALYTICstatic XPRSenumerations.HeuristicSearchSelectCOMBINESOLSstatic XPRSenumerations.HeuristicSearchSelectLPFIRSTstatic XPRSenumerations.HeuristicSearchSelectMIPFIRSTstatic XPRSenumerations.HeuristicSearchSelectRINSstatic XPRSenumerations.HeuristicSearchSelectZEROOBJ
-
Constructor Summary
Constructor Description HeuristicSearchSelect(int val)
-
Method Summary
Modifier and Type Method Description XPRSenumerations.HeuristicSearchSelectadd(XPRSenumerations.HeuristicSearchSelect... flags)Create a new instance that has all bits from this bit vector and those inflags.XPRSenumerations.HeuristicSearchSelectclear(XPRSenumerations.HeuristicSearchSelect... flags)Create a new instance that has all bits from this bit vector without those inflags.intcompareTo(XPRSenumerations.HeuristicSearchSelect other)booleanequals(XPRSenumerations.HeuristicSearchSelect other)static XPRSenumerations.HeuristicSearchSelectfromValue(int val)Get bit vector from numeric value,booleanhasFlag(int flags)Check whether this bitvector has the specified bits set.booleanhasFlag(XPRSenumerations.HeuristicSearchSelect... flags)Check whether this bitvector has the specified bits set.java.lang.StringtoString()static java.lang.StringtoString(int val)Get a string representation of the specified value.static XPRSenumerations.HeuristicSearchSelectvalueOf(int bits)Create a new instance with the specified value.static XPRSenumerations.HeuristicSearchSelectvalueOf(XPRSenumerations.HeuristicSearchSelect... bits)Create a new instance with the specified value.-
Methods inherited from class com.dashoptimization.XPRSenumerations.BitVector
byteValue, doubleValue, equals, floatValue, getValue, hashCode, intValue, longValue, shortValue
-
-
-
-
Field Detail
-
RINS
public static final XPRSenumerations.HeuristicSearchSelect RINS
-
LPFIRST
public static final XPRSenumerations.HeuristicSearchSelect LPFIRST
-
MIPFIRST
public static final XPRSenumerations.HeuristicSearchSelect MIPFIRST
-
COMBINESOLS
public static final XPRSenumerations.HeuristicSearchSelect COMBINESOLS
-
ZEROOBJ
public static final XPRSenumerations.HeuristicSearchSelect ZEROOBJ
-
ANALYTIC
public static final XPRSenumerations.HeuristicSearchSelect ANALYTIC
-
-
Method Detail
-
fromValue
public static XPRSenumerations.HeuristicSearchSelect fromValue(int val)
Get bit vector from numeric value,- Parameters:
-
val- The value to map. - Returns:
- The enumeration entry for <code>val</code>.
-
compareTo
public int compareTo(XPRSenumerations.HeuristicSearchSelect other)
- Specified by:
-
compareToin interfacejava.lang.Comparable<XPRSenumerations.HeuristicSearchSelect>
-
equals
public boolean equals(XPRSenumerations.HeuristicSearchSelect other)
-
toString
public java.lang.String toString()
- Overrides:
-
toStringin classjava.lang.Object
-
toString
public static java.lang.String toString(int val)
Get a string representation of the specified value.- Parameters:
-
val- The value for which to get a string representation - Returns:
-
A string representation for
val.
-
hasFlag
public boolean hasFlag(int flags)
Check whether this bitvector has the specified bits set.- Parameters:
-
flags- The flags to test. - Returns:
-
trueif all bits inflagsare also set in this bit vector.
-
hasFlag
public boolean hasFlag(XPRSenumerations.HeuristicSearchSelect... flags)
Check whether this bitvector has the specified bits set. Note that an empty list or a value of 0 will always match.- Parameters:
-
flags- The flags to test. - Returns:
-
trueif all bits inflagsare also set in this bit vector.
-
add
public XPRSenumerations.HeuristicSearchSelect add(XPRSenumerations.HeuristicSearchSelect... flags)
Create a new instance that has all bits from this bit vector and those inflags.- Parameters:
-
flags- The additional flags to set. - Returns:
-
A new instance that has all bits in
thisandflagsset.
-
clear
public XPRSenumerations.HeuristicSearchSelect clear(XPRSenumerations.HeuristicSearchSelect... flags)
Create a new instance that has all bits from this bit vector without those inflags.- Parameters:
-
flags- The flags to remove. - Returns:
-
A new instance that has all bits in
thiswithoutflagsset.
-
valueOf
public static XPRSenumerations.HeuristicSearchSelect valueOf(int bits)
Create a new instance with the specified value.- Parameters:
-
bits- The bits to be set in the new instance.
-
valueOf
public static XPRSenumerations.HeuristicSearchSelect valueOf(XPRSenumerations.HeuristicSearchSelect... bits)
Create a new instance with the specified value.- Parameters:
-
bits- The bits to be set in the new instance.
-
-
© 2001-2026 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.
