public class LeadTimeStochasticDemand extends DTMDP<examples.jmdp.LeadTimeState,Order>
| Constructor and Description |
|---|
LeadTimeStochasticDemand(States<examples.jmdp.LeadTimeState> initSet,
int maxInventory,
int maxItemsPerOrder,
int leadTime,
int maxBackorders,
double K,
double cost,
double price,
double h,
double holdingCost,
double theta,
double backOrderCost) |
| Modifier and Type | Method and Description |
|---|---|
Actions<Order> |
feasibleActions(examples.jmdp.LeadTimeState i)
Returns the set of actions available at this state.
|
double |
immediateCost(examples.jmdp.LeadTimeState i,
Order a)
Cost incurred when taking action a from state i
|
static void |
main(java.lang.String[] a) |
double |
prob(examples.jmdp.LeadTimeState i,
examples.jmdp.LeadTimeState j,
Order a)
Probability of going from state i to state j by taking the
action a
|
States<examples.jmdp.LeadTimeState> |
reachable(examples.jmdp.LeadTimeState i,
Order a)
Set of states that can be reached from this state i, after
taking the action a.
|
getSteadyStateProbabilities, setProbabilitySolver, solvegetAllStates, getNumStates, getSolverdebug, debug, debug, getDebugLevel, getOptimalPolicy, getOptimalValueFunction, getReporter, isFinite, isSolved, operation, printSolution, printSolution, setDebugLevel, setReporter, setSolver, solvepublic LeadTimeStochasticDemand(States<examples.jmdp.LeadTimeState> initSet, int maxInventory, int maxItemsPerOrder, int leadTime, int maxBackorders, double K, double cost, double price, double h, double holdingCost, double theta, double backOrderCost)
initSet - maxInventory - CapacitymaxItemsPerOrder - leadTime - stages for the order to arrivemaxBackorders - CapacityK - Fixed cost per Ordercost - variable costprice - variable costh - percentual cost of holding inventoryholdingCost - holding cost per period.theta - means of the Poisson demands per stagebackOrderCost - cost incurred when there is nopublic States<examples.jmdp.LeadTimeState> reachable(examples.jmdp.LeadTimeState i, Order a)
DTMDPpublic double prob(examples.jmdp.LeadTimeState i,
examples.jmdp.LeadTimeState j,
Order a)
DTMDPpublic double immediateCost(examples.jmdp.LeadTimeState i,
Order a)
DTMDPimmediateCost in class DTMDP<examples.jmdp.LeadTimeState,Order>i - Current Statea - Current Actionpublic Actions<Order> feasibleActions(examples.jmdp.LeadTimeState i)
InfiniteMDPfeasibleActions in class InfiniteMDP<examples.jmdp.LeadTimeState,Order>i - Current Statepublic static void main(java.lang.String[] a)
throws java.lang.Exception
a - Not usedjava.lang.Exception