We propose a model for path-planning based on single performance metric that accurately accounts the potential (spatially inhomogeneous) cost of breakdowns and repairs. These random happen at known (also spatially rate can be one two types: total, which halt all movement until an in-place repair is completed, or partial, after continues in damaged state. use framework piecewise-deterministic Ma...