Understanding Value Functions
A value function is a powerful tool that allows you to define how the price of a ride is calculated. Both riders and operators can create value functions to express their preferences for time, distance, and other factors.
How it Works
A value function is a mathematical formula that takes various trip parameters as input and returns a price. You can use standard mathematical functions like linear and quadratic equations, or you can create more complex functions by nesting them together.
Getting Contracts with Value Functions
When you create a contract, you must associate it with a value function. This value function will be used to determine the price of any ride that is booked under that contract.
Further Reading
For a more hands-on approach to creating value functions, please see the Value Function Builder guide.