src/main/java/com/xceptance/neodymium/visual/ai/machine_learning/Network.java
/**
     * Load network from specified file.
     * 
     * @param fileName
     *            File name to load network from.
     * @return Returns instance of Network class with all properties initialized from file.
     */
Load network from specified file.

@param fileName
File name to load network from.
@return Returns instance of Network class with all properties initialized from file.
Load network from specified file . @param fileName File name to load network from . @return Returns instance of Network class with all properties initialized from file .
public Network Load(String fileName)
    {
        Network network = null;
        try
        {
            ObjectInputStream in = new ObjectInputStream(new FileInputStream(fileName));
            network = (Network) in.readObject();
            in.close();
        }
        catch (FileNotFoundException ex)
        {
            ex.printStackTrace();
        }
        catch (IOException e)
        {
            e.printStackTrace();
        }
        catch (ClassNotFoundException e)
        {
            e.printStackTrace();
        }
        return network;
    }
public Network Load ( String fileName ) { Network network = null ; try { ObjectInputStream in = new ObjectInputStream ( new FileInputStream ( fileName ) ) ; network = ( Network ) in . readObject ( ) ; in . close ( ) ; } catch ( FileNotFoundException ex ) { ex . printStackTrace ( ) ; } catch ( IOException e ) { e . printStackTrace ( ) ; } catch ( ClassNotFoundException e ) { e . printStackTrace ( ) ; } return network ; }
Load network from specified file.
Load network from specified file .