Research Article

Optimization of Railway Mixed Goods Loading Layout considering Stability

Algorithm 4

Goods block selection algorithm.
Input Space set , current layout space , goods block set or , parameter , the width coefficient and depth coefficient of the tree;
OutputPlace the locally optimal goods block in the current layout space .
(1)Initialize , create an initial state in the current layout space as the root node
(2)for each layer of tree// takes
(3) Select blocks with values in the first to generate sub-states//generate incomplete layout schemes
(4)If //at layer , each leaf node in this layer is a complete layout scheme, with schemes in total
(5)Choose the scheme that produces the optimal solution out of schemes
(6)return place the locally optimal block of the current layout space