All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.automatalib.util.automata.builders.MooreBuilder Maven / Gradle / Ivy

Go to download

This artifact provides various common utility operations for analyzing and manipulating automata and graphs, such as traversal, minimization and copying.

There is a newer version: 0.11.0
Show newest version
/*
 * Automatically generated by Duzzt -- https://github.com/misberner/duzzt/
 * DO NOT EDIT! Your changes will be overridden.
 * Edit the annotation specification of class
 *   net.automatalib.util.automata.builders.MooreBuilderImpl
 * instead.
 */

package net.automatalib.util.automata.builders;

@javax.annotation.Generated(
	value={"com.github.misberner.duzzt.processor.Duzzt"},
	comments="Generated by Duzzt -- https://github.com/misberner/duzzt",
	date="2019-02-18T11:26+0000")
public class MooreBuilder> {
	public final class MooreBuilder__0 {
		public final 
		MooreBuilder__2 on(I input) {
			MooreBuilder.this.__duzzt_impl.on(input);
			return MooreBuilder.this.__duzzt_getState2();
		}

		@SafeVarargs
		public final 
		MooreBuilder__2 on(I firstInput,
		I... otherInputs) {
			MooreBuilder.this.__duzzt_impl.on(firstInput,otherInputs);
			return MooreBuilder.this.__duzzt_getState2();
		}

	}
	private MooreBuilder__0 __duzzt_state0 = null;
	private MooreBuilder__0 __duzzt_getState0() {
		if(this.__duzzt_state0 == null) {
			this.__duzzt_state0 = new MooreBuilder__0();
		}
		return this.__duzzt_state0;
	}


	public final class MooreBuilder__3 {
		public final 
		MooreBuilder__5 on(I input) {
			MooreBuilder.this.__duzzt_impl.on(input);
			return MooreBuilder.this.__duzzt_getState5();
		}

		@SafeVarargs
		public final 
		MooreBuilder__5 on(I firstInput,
		I... otherInputs) {
			MooreBuilder.this.__duzzt_impl.on(firstInput,otherInputs);
			return MooreBuilder.this.__duzzt_getState5();
		}

	}
	private MooreBuilder__3 __duzzt_state3 = null;
	private MooreBuilder__3 __duzzt_getState3() {
		if(this.__duzzt_state3 == null) {
			this.__duzzt_state3 = new MooreBuilder__3();
		}
		return this.__duzzt_state3;
	}



	public final class MooreBuilder__6 {
		public final 
		MooreBuilder__5 on(I input) {
			MooreBuilder.this.__duzzt_impl.on(input);
			return MooreBuilder.this.__duzzt_getState5();
		}

		@SafeVarargs
		public final 
		MooreBuilder__5 on(I firstInput,
		I... otherInputs) {
			MooreBuilder.this.__duzzt_impl.on(firstInput,otherInputs);
			return MooreBuilder.this.__duzzt_getState5();
		}

		@SafeVarargs
		public final 
		MooreBuilder__3 from(java.lang.Object firstStateId,
		java.lang.Object... otherStateIds) {
			MooreBuilder.this.__duzzt_impl.from(firstStateId,otherStateIds);
			return MooreBuilder.this.__duzzt_getState3();
		}

		public 
		A create() {
			return MooreBuilder.this.__duzzt_impl.create();
		}

		public final 
		MooreBuilder__3 from(java.lang.Object stateId) {
			MooreBuilder.this.__duzzt_impl.from(stateId);
			return MooreBuilder.this.__duzzt_getState3();
		}


		public final 
		MooreBuilder__1 withOutput(java.lang.Object stateId,
		O output) {
			MooreBuilder.this.__duzzt_impl.withOutput(stateId,output);
			return MooreBuilder.this.__duzzt_getState1();
		}

	}
	private MooreBuilder__6 __duzzt_state6 = null;
	private MooreBuilder__6 __duzzt_getState6() {
		if(this.__duzzt_state6 == null) {
			this.__duzzt_state6 = new MooreBuilder__6();
		}
		return this.__duzzt_state6;
	}


	public final class MooreBuilder__2 {
		public final 
		MooreBuilder__4 loop() {
			MooreBuilder.this.__duzzt_impl.loop();
			return MooreBuilder.this.__duzzt_getState4();
		}


		public final 
		MooreBuilder__4 to(java.lang.Object stateId) {
			MooreBuilder.this.__duzzt_impl.to(stateId);
			return MooreBuilder.this.__duzzt_getState4();
		}

	}
	private MooreBuilder__2 __duzzt_state2 = null;
	private MooreBuilder__2 __duzzt_getState2() {
		if(this.__duzzt_state2 == null) {
			this.__duzzt_state2 = new MooreBuilder__2();
		}
		return this.__duzzt_state2;
	}


	public final class MooreBuilder__1 {
		@SafeVarargs
		public final 
		MooreBuilder__3 from(java.lang.Object firstStateId,
		java.lang.Object... otherStateIds) {
			MooreBuilder.this.__duzzt_impl.from(firstStateId,otherStateIds);
			return MooreBuilder.this.__duzzt_getState3();
		}

		public 
		A create() {
			return MooreBuilder.this.__duzzt_impl.create();
		}

		public final 
		MooreBuilder__3 from(java.lang.Object stateId) {
			MooreBuilder.this.__duzzt_impl.from(stateId);
			return MooreBuilder.this.__duzzt_getState3();
		}


		public final 
		MooreBuilder__1 withOutput(java.lang.Object stateId,
		O output) {
			MooreBuilder.this.__duzzt_impl.withOutput(stateId,output);
			return MooreBuilder.this.__duzzt_getState1();
		}

	}
	private MooreBuilder__1 __duzzt_state1 = null;
	private MooreBuilder__1 __duzzt_getState1() {
		if(this.__duzzt_state1 == null) {
			this.__duzzt_state1 = new MooreBuilder__1();
		}
		return this.__duzzt_state1;
	}


	public final class MooreBuilder__5 {
		public final 
		MooreBuilder__6 loop() {
			MooreBuilder.this.__duzzt_impl.loop();
			return MooreBuilder.this.__duzzt_getState6();
		}


		public final 
		MooreBuilder__6 to(java.lang.Object stateId) {
			MooreBuilder.this.__duzzt_impl.to(stateId);
			return MooreBuilder.this.__duzzt_getState6();
		}

	}
	private MooreBuilder__5 __duzzt_state5 = null;
	private MooreBuilder__5 __duzzt_getState5() {
		if(this.__duzzt_state5 == null) {
			this.__duzzt_state5 = new MooreBuilder__5();
		}
		return this.__duzzt_state5;
	}


	public final class MooreBuilder__4 {
		public final 
		MooreBuilder__2 on(I input) {
			MooreBuilder.this.__duzzt_impl.on(input);
			return MooreBuilder.this.__duzzt_getState2();
		}

		@SafeVarargs
		public final 
		MooreBuilder__2 on(I firstInput,
		I... otherInputs) {
			MooreBuilder.this.__duzzt_impl.on(firstInput,otherInputs);
			return MooreBuilder.this.__duzzt_getState2();
		}

		@SafeVarargs
		public final 
		MooreBuilder__0 from(java.lang.Object firstStateId,
		java.lang.Object... otherStateIds) {
			MooreBuilder.this.__duzzt_impl.from(firstStateId,otherStateIds);
			return MooreBuilder.this.__duzzt_getState0();
		}


		public final 
		MooreBuilder__1 withInitial(java.lang.Object stateId) {
			MooreBuilder.this.__duzzt_impl.withInitial(stateId);
			return MooreBuilder.this.__duzzt_getState1();
		}


		public final 
		MooreBuilder__0 from(java.lang.Object stateId) {
			MooreBuilder.this.__duzzt_impl.from(stateId);
			return MooreBuilder.this.__duzzt_getState0();
		}


		public final 
		MooreBuilder__1 withInitial(java.lang.Object stateId,
		O output) {
			MooreBuilder.this.__duzzt_impl.withInitial(stateId,output);
			return MooreBuilder.this.__duzzt_getState1();
		}


		public final 
		MooreBuilder withOutput(java.lang.Object stateId,
		O output) {
			MooreBuilder.this.__duzzt_impl.withOutput(stateId,output);
			return MooreBuilder.this;
		}

	}
	private MooreBuilder__4 __duzzt_state4 = null;
	private MooreBuilder__4 __duzzt_getState4() {
		if(this.__duzzt_state4 == null) {
			this.__duzzt_state4 = new MooreBuilder__4();
		}
		return this.__duzzt_state4;
	}


	private final net.automatalib.util.automata.builders.MooreBuilderImpl __duzzt_impl;

	public MooreBuilder(A automaton) {
		this.__duzzt_impl = new net.automatalib.util.automata.builders.MooreBuilderImpl(automaton);
	}

	public MooreBuilder(net.automatalib.util.automata.builders.MooreBuilderImpl implementation) {
		this.__duzzt_impl = implementation;
	}

	@SafeVarargs
	public final 
	MooreBuilder__0 from(java.lang.Object firstStateId,
	java.lang.Object... otherStateIds) {
		MooreBuilder.this.__duzzt_impl.from(firstStateId,otherStateIds);
		return MooreBuilder.this.__duzzt_getState0();
	}


	public final 
	MooreBuilder__1 withInitial(java.lang.Object stateId) {
		MooreBuilder.this.__duzzt_impl.withInitial(stateId);
		return MooreBuilder.this.__duzzt_getState1();
	}


	public final 
	MooreBuilder__0 from(java.lang.Object stateId) {
		MooreBuilder.this.__duzzt_impl.from(stateId);
		return MooreBuilder.this.__duzzt_getState0();
	}


	public final 
	MooreBuilder__1 withInitial(java.lang.Object stateId,
	O output) {
		MooreBuilder.this.__duzzt_impl.withInitial(stateId,output);
		return MooreBuilder.this.__duzzt_getState1();
	}


	public final 
	MooreBuilder withOutput(java.lang.Object stateId,
	O output) {
		MooreBuilder.this.__duzzt_impl.withOutput(stateId,output);
		return MooreBuilder.this;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy