dk.deepthought.sidious.supportsystem
Interface State

All Known Implementing Classes:
ClimaticState

public interface State

This interface represent a state in the system.

Any implementation of this interface must be immutable.

Author:
Deepthought

Method Summary
 State impact(java.util.Collection<State> states)
          Calculates and returns the collective impact of applying the input states to the current environment.
 boolean partiallyEquals(State state)
          Checks whether this state contains all state descriptors of the input state.
 boolean sameStateSpace(State other)
          Verifies if the specified state belongs to the same state space as this.
 

Method Detail

impact

State impact(java.util.Collection<State> states)
Calculates and returns the collective impact of applying the input states to the current environment.

Parameters:
states - the input states
Returns:
the resulting state

sameStateSpace

boolean sameStateSpace(State other)
Verifies if the specified state belongs to the same state space as this.

Returns true if this state and other are in the same state space, false otherwise.

Parameters:
other - the other state
Returns:
true if in same state space, false otherwise.

partiallyEquals

boolean partiallyEquals(State state)
Checks whether this state contains all state descriptors of the input state.

Parameters:
state - input state
Returns:
true if all state descriptors are included


Copyright © Deepthought Development - All Rights Reserved.