We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If two components require a parameter of the same name but different type/format, then we cannot use both of them in the same simulation.
class UrbanOptsSim(SmartGridWorldSimulation): """ def __init__( self, reward_scheme=None, **kwargs): super().__init__(**kwargs) # Done components self.target_overlap_done = TargetAgentOverlapDone( **kwargs ) self.target_encoding_done = TargetEncodingInactiveDone( **kwargs ) sim = AllStepManager( UrbanOptsSim.build_sim_from_file( ... target_mapping={ # TODO: Both done types require the target_mapping parameter... attacker: 'target' for attacker in attackers } ) )
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If two components require a parameter of the same name but different type/format, then we cannot use both of them in the same simulation.
The text was updated successfully, but these errors were encountered: