@Override
	public void addState(State state, CogaenId stateId) {
		State  oldState = this.states.put(stateId, state);
		
		if (oldState != null) {
			this.states.put(stateId, oldState);
			throw new RuntimeException("ambiguous state id " + stateId);
		}
	}