package de.renew.simulatorontology.loading;


import de.renew.simulatorontology.shadow.ShadowNetSystem;

/**
 * Interface for implementing classes to find nets without iterating
 *  the {@code netPath}.
 * For example, plug-ins might register implementations of this interface
 * to include their nets in the simulation.
 **/
public interface PathlessFinder {

    /**
    * Looks for a net of a given name in a given file
     * 
    * @param name the name of the net
    * @return the found {@code ShadowNet} or {@code null} if none was found
    */
    ShadowNetSystem findNetFile(String name);
}