public enum

SolverVariable.Type

extends java.lang.Enum<SolverVariable.Type>

 java.lang.Object

↳java.lang.Enum<SolverVariable.Type>

↳androidx.constraintlayout.core.SolverVariable.Type

Overview

Type of variables

Summary

Enum Constants
CONSTANTThe variable is actually not a variable :) , but a constant number
ERRORThe variable is restricted to positive values and represents an error
SLACKThe variable is restricted to positive values and represents a slack
UNKNOWNUnknown (invalid) type.
UNRESTRICTEDThe variable can take negative or positive values
Methods
public static SolverVariable.TypevalueOf(java.lang.String name)

public static SolverVariable.Typevalues()

from java.lang.Enum<E>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
from java.lang.ObjectgetClass, notify, notifyAll, wait, wait, wait

Enum Constants

UNRESTRICTED

The variable can take negative or positive values

CONSTANT

The variable is actually not a variable :) , but a constant number

SLACK

The variable is restricted to positive values and represents a slack

ERROR

The variable is restricted to positive values and represents an error

UNKNOWN

Unknown (invalid) type.

Methods

public static SolverVariable.Type values()

public static SolverVariable.Type valueOf(java.lang.String name)