Examples of ILayer


Examples of org.locationtech.udig.project.ILayer

   
    if(!isVisible()) return false;
   
    if(ILayer.class.isAssignableFrom(object.getClass())){
     
      ILayer layer = (ILayer)object;
      if(layer.getCRS() == null) return false;
    }
   
    return true;
  }
View Full Code Here

Examples of org.locationtech.udig.project.ILayer

        monitor.beginTask("csv render", 100);

        CSVReader reader = null;
        try {
            g.setColor(Color.BLACK);
            ILayer layer = getContext().getLayer();
            IGeoResource resource = layer.findGeoResource(CSV.class);
            if (resource == null)
                return;

            CoordinateReferenceSystem dataCRS = layer.getCRS();
            CoordinateReferenceSystem worldCRS = context.getCRS();
            MathTransform dataToWorld = CRS.findMathTransform(dataCRS, worldCRS, false);

            ReferencedEnvelope bounds = getRenderBounds();
            monitor.subTask("connecting");
View Full Code Here

Examples of zdenekdrahos.AI.NeuralNetwork.Layers.ILayer

            }
        }
    }

    public static void assertNetworkWeights(INeuralNetwork network, double[][][] expectedWeights) {
        ILayer layer;
        List<IWeight> currentWeights;
        int previousNeuronIndex;
        for (int layerIndex = 1; layerIndex < network.getLayersCount(); layerIndex++) {
            layer = network.getLayer(layerIndex);
            for (int neuronIndex = 0; neuronIndex < layer.getNeuronsCount(); neuronIndex++) {
                currentWeights = network.getWeights().getNeuronWeights(layerIndex, neuronIndex);
                previousNeuronIndex = 0;
                for (IWeight weight : currentWeights) {
                    assertEquals(weight.getWeight(), expectedWeights[layerIndex - 1][neuronIndex][previousNeuronIndex++], 0.1);
                }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.