<commit_before>package org.condast.wph.core.design;

import java.util.ArrayList;
import java.util.Calendar;
import java.util.Collection;
import java.util.Date;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.logging.Logger;

import org.condast.symbiotic.core.def.IBehaviour;
import org.condast.symbiotic.core.def.ISymbiot;
import org.condast.symbiotic.core.transformation.ITransformListener;
import org.condast.symbiotic.core.transformation.TransformEvent;
import org.condast.symbiotic.core.transformation.Transformation;
import org.condast.symbiotic.core.transformer.AbstractBehavedTransformerWrapper;
import org.condast.symbiotic.core.transformer.AbstractProcessWrapper;
import org.condast.wph.core.def.ICapacityProcess;
import org.condast.wph.core.def.IContainer;
import org.condast.wph.core.def.IIntervalProcess;
import org.condast.wph.core.def.IShip;
import org.condast.wph.core.definition.IModel.ModelTypes;
import org.condast.wph.core.message.MessageController;
import org.condast.wph.core.message.MessageHandler.Parties;
import org.condast.wph.core.model.Container;
import org.condast.wph.core.model.IntervalProcess;
import org.condast.wph.core.model.Terminal;

public class TTerminal extends Transformation<IShip, IContainer> implements ICapacityProcess<IShip, IContainer>,
	IIntervalProcess<IShip, IContainer>{

	public enum Strategies{
		ALLOW_ENTRY,
		ALLOW_DELAY
	}

	private Terminal terminal;
	private ProcessTransformation process;
	private MessageController mc;
    private Logger logger = Logger.getLogger( this.getClass().getName());
	
	public TTerminal( Terminal terminal, IBehaviour behaviour ) {
		super( ModelTypes.TERMINAL.toString() );
		this.terminal = terminal;
		this.process = new ProcessTransformation( terminal.getId(), this.terminal.getMaxDocks() );
		mc = new MessageController( behaviour );
		super.setTransformer( new TRTerminal( terminal, behaviour));
	}

	public Terminal getModel() {
		return terminal;
	}
	<commit_msg>minor changes in terminal<commit_after>package org.condast.wph.core.design;

import java.util.ArrayList;
import java.util.Calendar;
import java.util.Collection;
import java.util.Date;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;

import org.condast.symbiotic.core.def.IBehaviour;
import org.condast.symbiotic.core.def.ISymbiot;
import org.condast.symbiotic.core.transformation.ITransformListener;
import org.condast.symbiotic.core.transformation.TransformEvent;
import org.condast.symbiotic.core.transformation.Transformation;
import org.condast.symbiotic.core.transformer.AbstractBehavedTransformerWrapper;
import org.condast.symbiotic.core.transformer.AbstractProcessWrapper;
import org.condast.wph.core.def.ICapacityProcess;
import org.condast.wph.core.def.IContainer;
import org.condast.wph.core.def.IIntervalProcess;
import org.condast.wph.core.def.IShip;
import org.condast.wph.core.definition.IModel.ModelTypes;
import org.condast.wph.core.message.MessageController;
import org.condast.wph.core.message.MessageHandler.Parties;
import org.condast.wph.core.model.Container;
import org.condast.wph.core.model.IntervalProcess;
import org.condast.wph.core.model.Terminal;

public class TTerminal extends Transformation<IShip, IContainer> implements ICapacityProcess<IShip, IContainer>,
	IIntervalProcess<IShip, IContainer>{

	public enum Strategies{
		ALLOW_ENTRY,
		ALLOW_DELAY
	}

	private Terminal terminal;
	private ProcessTransformation process;
	private MessageController mc;
    //private Logger logger = Logger.getLogger( this.getClass().getName());
	
	public TTerminal( Terminal terminal, IBehaviour behaviour ) {
		super( ModelTypes.TERMINAL.toString() );
		this.terminal = terminal;
		this.process = new ProcessTransformation( terminal.getId(), this.terminal.getMaxDocks() );
		mc = new MessageController( behaviour );
		super.setTransformer( new TRTerminal( terminal, behaviour));
	}

	public Terminal getModel() {
		return terminal;
	}
	
{'fraction_non_alphanumeric': 0.10444388651770023, 'fraction_numerical': 0.0, 'mean_word_length': 6.051327433628319, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '536166', 'n_tokens_mistral': 1284, 'n_tokens_neox': 1249, 'n_words': 223}