class_docstr: Reward scheme for the 2D cutting env penalizing raw piece usage.
  
  :param reward_scale: Reward scaling factor.
class_docstr_tok: ["Reward","scheme","for","the","2D","cutting","env","penalizing","raw","piece","usage",".",":","param","reward_scale",":","Reward","scaling","factor","."]
code: def __init__(self, reward_scale: float):
      super().__init__()
      self.reward_scale = reward_scale
  
file_path: maze/docs/source/environment_customization/code_snippets/custom_reward.py
imports: from typing import List, Optional
  from maze.core.annotations import override
  from maze.core.env.maze_state import MazeStateType
  from maze.core.events.pubsub import Subscriber
  from maze_envs.logistics.cutting_2d.env.events import InventoryEvents
  from maze.core.env.reward import RewardAggregatorInterface
label_desc: Use image node_id 1 to create a new RawPieceUsageRewardAggregator object from inherited base classes: RewardAggregatorInterface with example: obj = RawPieceUsageRewardAggregator(reward_scale)