This is because, by default, the "Source" takes the argument of freeSpaceLayer and does not force the user to supply a layer. If the layer is not free space and is not supplied, it will still default to the free space layer. It may be better to compute kIncident at runtime by the solver and not when declaring the source.
This is because, by default, the "Source" takes the argument of freeSpaceLayer and does not force the user to supply a layer. If the layer is not free space and is not supplied, it will still default to the free space layer. It may be better to compute kIncident at runtime by the solver and not when declaring the source.