Function1D
Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Funzione di un argomento.
Rappresentazione JSON |
{
// Union field function can be only one of the following:
"constant": number,
"pwl": {
object (PieceWiseAffineFunction )
}
// End of list of possible types for union field function .
} |
Campi |
Campo unione function . L'unità dell'argomento della funzione dovrebbe essere: - se un peso: kg - se un tempo: min - se un numero di pallet: 1 function può essere solo uno dei seguenti: |
constant |
number
La funzione è una costante.
|
pwl |
object (PieceWiseAffineFunction )
La funzione è lineare a tratti.
|
PieceWiseAffineSegment
Un segmento di una funzione lineare a tratti.
Rappresentazione JSON |
{
"startX": number,
"startY": number,
"endX": number,
"endY": number
} |
Campi |
startX |
number
Inizio del segmento: x.
|
startY |
number
Inizio del segmento: y.
|
endX |
number
Fine del segmento: x.
|
endY |
number
Fine del segmento: y.
|
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2024-10-15 UTC.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2024-10-15 UTC."],[[["This documentation describes a Function of one argument, which can be either a constant value or a piecewise linear function."],["If the function is piecewise linear, it's defined by a series of segments, each represented by a `PieceWiseAffineSegment`."],["Each `PieceWiseAffineSegment` is determined by its starting and ending points (x, y coordinates)."],["The argument of the function represents different units such as weight (kg), time (min), or number of pallets."]]],["The `function` can be either a `constant` (a number) or a `pwl` (piecewise linear function). A piecewise-linear function (`pwl`) is defined by an array of `segments`. Each `segment` is described by its `startX`, `startY`, `endX`, and `endY` values. The argument's unit is kg for weight, min for time, or 1 for the number of pallets. These elements allow defining functions of one argument as a constant or piecewise linear.\n"]]