Function1D
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ฟังก์ชันของอาร์กิวเมนต์ 1 รายการ
การแสดง 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 .
} |
ช่อง |
ช่องการรวม function ความเป็นเอกภาพของอาร์กิวเมนต์ของฟังก์ชันควรเป็น - ถ้าน้ำหนัก: กก. - ถ้าเวลาเป็น: ขั้นต่ำ - ถ้าจำนวนพาเลต: 1 function ต้องเป็นค่าใดค่าหนึ่งต่อไปนี้ |
constant |
number
ฟังก์ชันนี้เป็นค่าคงที่
|
pwl |
object (PieceWiseAffineFunction )
ฟังก์ชันจะเป็นเชิงเส้นแบบแบ่งเป็นช่วง
|
PieceWiseAffineSegment
ส่วนของฟังก์ชันเชิงเส้นแบบแบ่งเป็นช่วงๆ 1 เซกเมนต์
การแสดง JSON |
{
"startX": number,
"startY": number,
"endX": number,
"endY": number
} |
ช่อง |
startX |
number
จุดเริ่มต้นของกลุ่ม: x
|
startY |
number
จุดเริ่มต้นของกลุ่ม: y.
|
endX |
number
จุดสิ้นสุดของกลุ่ม: x
|
endY |
number
จุดสิ้นสุดของกลุ่ม: y.
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-10-15 UTC
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 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"]]