public class ControlProduccion extends DTMDPEv<InvLevel,Order,DemandEvent>
| Constructor and Description |
|---|
ControlProduccion(int maxInventory,
double fixedCost,
double cost,
double price,
double holdingCost,
double interestRate,
double demandMean) |
| Modifier and Type | Method and Description |
|---|---|
Events<DemandEvent> |
activeEvents(InvLevel i,
Order a)
Set of events that are active from state i given that action a is taken.
|
Actions<Order> |
feasibleActions(InvLevel i)
Returns the set of actions available at this state.
|
double |
immediateCost(InvLevel i,
Order a,
DemandEvent e)
Cost incurred received when the current state is i, the action taken is a
and event e occurs.
|
static void |
main(java.lang.String[] a)
Test Program
|
double |
prob(InvLevel i,
DemandEvent e)
Conditional Event probability.
|
double |
prob(InvLevel i,
InvLevel j,
Order a,
DemandEvent e)
Conditional destination probability.
|
States<InvLevel> |
reachable(InvLevel i,
Order a,
DemandEvent e)
Set of reachable states from state i given that action a is taken and
event e occurs.
|
immediateCost, prob, reachablegetSteadyStateProbabilities, setProbabilitySolver, solvegetAllStates, getNumStates, getSolverdebug, debug, debug, getDebugLevel, getOptimalPolicy, getOptimalValueFunction, getReporter, isFinite, isSolved, operation, printSolution, printSolution, setDebugLevel, setReporter, setSolver, solvepublic ControlProduccion(int maxInventory,
double fixedCost,
double cost,
double price,
double holdingCost,
double interestRate,
double demandMean)
maxInventory - CapacityfixedCost - Fixed cost per ordercost - aquisition costprice - selling priceholdingCost - cost per item stored (non-monetary)interestRate - demandMean - Expected demandpublic States<InvLevel> reachable(InvLevel i, Order a, DemandEvent e)
DTMDPEvreachable in class DTMDPEv<InvLevel,Order,DemandEvent>i - current statea - action takene - event that occurspublic Events<DemandEvent> activeEvents(InvLevel i, Order a)
DTMDPEvactiveEvents in class DTMDPEv<InvLevel,Order,DemandEvent>i - current statea - action takenpublic double prob(InvLevel i, InvLevel j, Order a, DemandEvent e)
DTMDPEvprob in class DTMDPEv<InvLevel,Order,DemandEvent>i - current statej - state to reacha - action taken (given)e - event that occurs (given)public double prob(InvLevel i, DemandEvent e)
DTMDPEvprob in class DTMDPEv<InvLevel,Order,DemandEvent>i - current statee - event that occurspublic double immediateCost(InvLevel i, Order a, DemandEvent e)
DTMDPEvimmediateCost in class DTMDPEv<InvLevel,Order,DemandEvent>i - current statea - action takene - event that occurspublic Actions<Order> feasibleActions(InvLevel i)
InfiniteMDPfeasibleActions in class InfiniteMDP<InvLevel,Order>i - Current Statepublic static void main(java.lang.String[] a)
throws SolverException
a - SolverException