Package cc.redberry.core.combinatorics

Examples of cc.redberry.core.combinatorics.IntTuplesPort


        public PowerPort(Tensor tensor, int[] initialForbidden) {
            base = tensor.get(0);
            power = ((Complex) tensor.get(1)).getReal().intValue();
            int[] upperBounds = new int[power];
            Arrays.fill(upperBounds, base.size());
            tuplesPort = new IntTuplesPort(upperBounds);
            this.initialForbidden = initialForbidden;
            currentPort = nextPort();
        }
View Full Code Here


        public PermIterator() {
            final int[] orbitSizes = new int[base.length];
            for (int i = 0; i < orbitSizes.length; ++i)
                orbitSizes[i] = bsgs.get(i).orbitSize();
            tuplesPort = new IntTuplesPort(orbitSizes);
            tuple = tuplesPort.take();
        }
View Full Code Here

        public PowerPort(Tensor tensor, int[] initialForbidden) {
            base = tensor.get(0);
            power = ((Complex) tensor.get(1)).getReal().intValue();
            int[] upperBounds = new int[power];
            Arrays.fill(upperBounds, base.size());
            tuplesPort = new IntTuplesPort(upperBounds);
            this.initialForbidden = initialForbidden;
            currentPort = nextPort();
        }
View Full Code Here

        public PowerPort(Tensor tensor, int[] initialForbidden) {
            base = tensor.get(0);
            power = ((Complex) tensor.get(1)).getReal().intValue();
            int[] upperBounds = new int[power];
            Arrays.fill(upperBounds, base.size());
            tuplesPort = new IntTuplesPort(upperBounds);
            this.initialForbidden = initialForbidden;
            currentPort = nextPort();
        }
View Full Code Here

        public PowerPort(Tensor tensor, int[] initialForbidden) {
            base = tensor.get(0);
            power = ((Complex) tensor.get(1)).getReal().intValue();
            int[] upperBounds = new int[power];
            Arrays.fill(upperBounds, base.size());
            tuplesPort = new IntTuplesPort(upperBounds);
            this.initialForbidden = initialForbidden;
            currentPort = nextPort();
        }
View Full Code Here

        public PermIterator() {
            final int[] orbitSizes = new int[base.length];
            for (int i = 0; i < orbitSizes.length; ++i)
                orbitSizes[i] = bsgs.get(i).orbitSize();
            tuplesPort = new IntTuplesPort(orbitSizes);
            tuple = tuplesPort.take();
        }
View Full Code Here

TOP

Related Classes of cc.redberry.core.combinatorics.IntTuplesPort

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.