A cleaning device may include a polishing roller, an ejection member, and a conveying member. A Schottky junction is formed by providing an anode electrode in an n well region where a source region, a drain region, and a p well region of a lateral MOSFET. The optical switch includes a semiconductor substrate having first and second optical signal waveguides disposed thereon. The learning scheme may use any scheme such as a reinforcement learning agent, a fuzzy inference system or a neural network. Additionally, the present invention provides a template authoring tool and user interface for interactively drawing and arranging layout elements within an adaptive template.