Java Reference
Java Reference
Detailed Description
Definition at line 6 of file RoutesConstraintProtoOrBuilder.java.
Public Member Functions | |
| java.util.List< java.lang.Integer > | getTailsList () |
repeated int32 tails = 1; More... | |
| int | getTailsCount () |
repeated int32 tails = 1; More... | |
| int | getTails (int index) |
repeated int32 tails = 1; More... | |
| java.util.List< java.lang.Integer > | getHeadsList () |
repeated int32 heads = 2; More... | |
| int | getHeadsCount () |
repeated int32 heads = 2; More... | |
| int | getHeads (int index) |
repeated int32 heads = 2; More... | |
| java.util.List< java.lang.Integer > | getLiteralsList () |
repeated int32 literals = 3; More... | |
| int | getLiteralsCount () |
repeated int32 literals = 3; More... | |
| int | getLiterals (int index) |
repeated int32 literals = 3; More... | |
| java.util.List< java.lang.Integer > | getDemandsList () |
| int | getDemandsCount () |
| int | getDemands (int index) |
| long | getCapacity () |
int64 capacity = 5; More... | |
Member Function Documentation
◆ getCapacity()
| long getCapacity | ( | ) |
int64 capacity = 5;
- Returns
- The capacity.
Implemented in RoutesConstraintProto.Builder, and RoutesConstraintProto.
◆ getDemands()
| int getDemands | ( | int | index | ) |
Experimental. The demands for each node, and the maximum capacity for each route. Note that this is currently only used for the LP relaxation and one need to add the corresponding constraint to enforce this outside of the LP.
repeated int32 demands = 4;
- Parameters
-
index The index of the element to return.
- Returns
- The demands at the given index.
Implemented in RoutesConstraintProto.Builder, and RoutesConstraintProto.
◆ getDemandsCount()
| int getDemandsCount | ( | ) |
Experimental. The demands for each node, and the maximum capacity for each route. Note that this is currently only used for the LP relaxation and one need to add the corresponding constraint to enforce this outside of the LP.
repeated int32 demands = 4;
- Returns
- The count of demands.
Implemented in RoutesConstraintProto.Builder, and RoutesConstraintProto.
◆ getDemandsList()
| java.util.List<java.lang.Integer> getDemandsList | ( | ) |
Experimental. The demands for each node, and the maximum capacity for each route. Note that this is currently only used for the LP relaxation and one need to add the corresponding constraint to enforce this outside of the LP.
repeated int32 demands = 4;
- Returns
- A list containing the demands.
Implemented in RoutesConstraintProto.Builder, and RoutesConstraintProto.
◆ getHeads()
| int getHeads | ( | int | index | ) |
repeated int32 heads = 2;
- Parameters
-
index The index of the element to return.
- Returns
- The heads at the given index.
Implemented in RoutesConstraintProto.Builder, and RoutesConstraintProto.
◆ getHeadsCount()
| int getHeadsCount | ( | ) |
repeated int32 heads = 2;
- Returns
- The count of heads.
Implemented in RoutesConstraintProto.Builder, and RoutesConstraintProto.
◆ getHeadsList()
| java.util.List<java.lang.Integer> getHeadsList | ( | ) |
repeated int32 heads = 2;
- Returns
- A list containing the heads.
Implemented in RoutesConstraintProto.Builder, and RoutesConstraintProto.
◆ getLiterals()
| int getLiterals | ( | int | index | ) |
repeated int32 literals = 3;
- Parameters
-
index The index of the element to return.
- Returns
- The literals at the given index.
Implemented in RoutesConstraintProto.Builder, and RoutesConstraintProto.
◆ getLiteralsCount()
| int getLiteralsCount | ( | ) |
repeated int32 literals = 3;
- Returns
- The count of literals.
Implemented in RoutesConstraintProto.Builder, and RoutesConstraintProto.
◆ getLiteralsList()
| java.util.List<java.lang.Integer> getLiteralsList | ( | ) |
repeated int32 literals = 3;
- Returns
- A list containing the literals.
Implemented in RoutesConstraintProto.Builder, and RoutesConstraintProto.
◆ getTails()
| int getTails | ( | int | index | ) |
repeated int32 tails = 1;
- Parameters
-
index The index of the element to return.
- Returns
- The tails at the given index.
Implemented in RoutesConstraintProto.Builder, and RoutesConstraintProto.
◆ getTailsCount()
| int getTailsCount | ( | ) |
repeated int32 tails = 1;
- Returns
- The count of tails.
Implemented in RoutesConstraintProto.Builder, and RoutesConstraintProto.
◆ getTailsList()
| java.util.List<java.lang.Integer> getTailsList | ( | ) |
repeated int32 tails = 1;
- Returns
- A list containing the tails.
Implemented in RoutesConstraintProto.Builder, and RoutesConstraintProto.
The documentation for this interface was generated from the following file: