Uses of Class
com.amalgamasimulation.discreterate.FlowElement
Packages that use FlowElement
-
Uses of FlowElement in com.amalgamasimulation.discreterate
Subclasses of FlowElement in com.amalgamasimulation.discreterateModifier and TypeClassDescriptionfinal classBunker<T>Bunker is a flow element that can contain material.final classConveyor<T>A Conveyor is a flow element that transports material from one point in space to another point at a given speed.final classMerge<T>Merge is a flow element that receives material from several inputs and combines them into a single output.classA ReversibleConveyor is a flow element that transports material from one point in space to another point at a given speed.classSplit<T>Split is a flow element that receives material from exactly one input and can divide it into several outputs.final classTank<T>Tank is a flow element that can store materials.final classValve<T>Valve is a flow element that regulates the rate of the material flow.Methods in com.amalgamasimulation.discreterate that return FlowElementModifier and TypeMethodDescriptionFlowConnection.getNextElement()Returns the destination (receiver)FlowElementof this flow connection.FlowConnection.getPrevElement()Returns the sourceFlowElementof this flow connection.Methods in com.amalgamasimulation.discreterate with parameters of type FlowElementModifier and TypeMethodDescriptionReversibleConveyor.backwardOutputConnectToElement(FlowElement<T> dest) Connects the backward output of this ReversibleConveyor to the input of thedestflow element.ReversibleConveyor.Builder.backwardOutputFlowElement(FlowElement<T> dest) Connects the backward output (the beginning of the conveyor in the forward direction) of this Conveyor to the input of thedestflow element.voidConveyor.connectInputFlowWithLogicalOffset(FlowElement<T> sourceFlowElement, double logicalOffset) Connects thesourceFlowElement(as a source of material) to thisConveyor.voidIAbstractConveyor.connectInputFlowWithLogicalOffset(FlowElement<T> sourceFlowElement, double logicalOffset) voidReversibleConveyor.connectInputFlowWithLogicalOffset(FlowElement<T> sourceFlowElement, double logicalOffset) Connects thesourceFlowElement(as a source of material) to thisConveyor.voidConveyor.connectInputFlowWithRelativeOffset(FlowElement<T> sourceFlowElement, double relativeOffset) Connects thesourceFlowElement(as a source of material) to thisConveyor.voidIAbstractConveyor.connectInputFlowWithRelativeOffset(FlowElement<T> sourceFlowElement, double relativeOffset) voidReversibleConveyor.connectInputFlowWithRelativeOffset(FlowElement<T> sourceFlowElement, double relativeOffset) Connects thesourceFlowElement(as a source of material) to thisConveyor.Conveyor.connectToElement(FlowElement<T> dest) FlowElement.connectToElement(FlowElement<T> dest) Connects the output of this flow element to the input of thedestflow element.ReversibleConveyor.connectToElement(FlowElement<T> dest) Connects the forward output of this ReversibleConveyor to the input of thedestflow element.FlowElement.disconnectFrom(FlowElement<T> destElement) Disconnects the current flow element from thedestElementflow element, if a connection from this flow element to thedestElementflow element exists.ReversibleConveyor.forwardOutputConnectToElement(FlowElement<T> dest) Connects the forward output of this ReversibleConveyor to the input of thedestflow element.ReversibleConveyor.Builder.forwardOutputFlowElement(FlowElement<T> dest) Connects the forward output of this Conveyor to the input of thedestflow element.FlowEnvironment.getFlowConnection(FlowElement<T> element1, FlowElement<T> element2) Conveyor.Builder.inputFlowWithRelativeOffset(FlowElement<T> sourceFlowElement, double relativeOffset) Connects thesourceFlowElement(as a source of material) to thisConveyor.ReversibleConveyor.Builder.inputFlowWithRelativeOffset(FlowElement<T> sourceFlowElement, double relativeOffset) Connects thesourceFlowElement(as a source of material) to thisReversibleConveyor.booleanFlowEnvironment.isConnected(FlowElement<T> element1, FlowElement<T> element2) Checks whether a connection betweenelement1andelement2exists.final booleanFlowElement.isConnectedWith(FlowElement<T> element) Checks whether a connection exists between this flow element and theelementflow element.Conveyor.Builder.outputFlowElement(FlowElement<T> dest) Connects the output of this Conveyor to the input of thedestflow element.Method parameters in com.amalgamasimulation.discreterate with type arguments of type FlowElementModifier and TypeMethodDescriptionConveyor.Builder.inputFlowWithRelativeOffset(List<Pair<FlowElement<T>, Double>> sourceFlowElementsByRelativeOffset) Connects thesourceFlowElement(as a source of material) to thisConveyor.ReversibleConveyor.Builder.inputFlowWithRelativeOffset(List<Pair<FlowElement<T>, Double>> sourceFlowElementsByRelativeOffset) Connects thesourceFlowElement(as a source of material) to thisReversibleConveyor.