public MaxentModel getModel ( ModelDomain domain ) { if ( map . containsKey ( domain ) ) { return ( MaxentModel ) map . get ( domain ) ; } else { throw new NoSuchElementException ( "No model has been created for " + "domain: " + domain ) ; } }
Get the model mapped to by the given ModelDomain key .