com.gams.api.GAMSDatabaseDomainViolation Class Reference
An instance of GAMSDatabaseDomainViolation
stores a domain violation information for each symbol in a GAMSDatabase
instance.
More...
Public Member Functions | |
GAMSSymbol<?> | getSymbol () |
To retrieve a GAMSSymbol instance whose domain is violated. | |
int | getNumberOfSymbolDomainViolations () |
Retrieve a number of domain violations record that this symbol are violated. | |
List< GAMSSymbolDomainViolation > | getSymbolDomainViolations () |
Retrieve a list of domain violation records for the symbol. | |
Detailed Description
An instance of GAMSDatabaseDomainViolation
stores a domain violation information for each symbol in a GAMSDatabase
instance.
It contains information of which GAMSSymbol
instance whose domain is violated and a list of GAMSDatabaseDomainViolation
instances containing all domain violation records of the GAMSSymbol
instance.
- See also
- GAMSDatabase.checkDomains()
- GAMSDatabase.getDatabaseDomainViolations(int, int)
- GAMSSymbolDomainViolation
- GAMSSymbol.checkDomains()
- GAMSSymbol.getSymbolDomainViolations(int)
Member Function Documentation
◆ getNumberOfSymbolDomainViolations()
int com.gams.api.GAMSDatabaseDomainViolation.getNumberOfSymbolDomainViolations | ( | ) |
Retrieve a number of domain violations record that this symbol are violated.
- Returns
- number of domain violations record that this symbol are violated.
- See also
- GAMSDatabaseDomainViolation.getSymbolDomainViolations()
◆ getSymbol()
GAMSSymbol<?> com.gams.api.GAMSDatabaseDomainViolation.getSymbol | ( | ) |
To retrieve a GAMSSymbol
instance whose domain is violated.
- Returns
- GAMSSymbol instance
- See also
- GAMSSymbol
◆ getSymbolDomainViolations()
List< GAMSSymbolDomainViolation > com.gams.api.GAMSDatabaseDomainViolation.getSymbolDomainViolations | ( | ) |
Retrieve a list of domain violation records for the symbol.
- Returns
- a list of symbol domain violation records
- See also
- GAMSSymbol.getSymbolDomainViolations(int)