Virtual U.org
Get Personal Training on VU Today
    
Top shadow
 
 register/help
User Name:

Password:

EnrollRes class Reference
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

EnrollRes Class Reference

#include <Oenroll.h>

List of all members.

Public Methods

 EnrollRes ()
void init ()
void deinit ()
int write_file (File *filePtr)
int read_file (File *filePtr)
void init_data ()
void enroll_main (int initFlag=0)
void next_day ()
void update_history (char update_flag)
void calc_student_count (int initFlag=0)
void set_app_yield (float appMultipler, float yieldMultiplier)
void calc_enroll_applications ()
void calc_enroll_offers ()
void calc_enroll_matriculations ()
void update_enroll_history (char noshift=0)
float calc_an_aid (Student *stuPtr)
void calc_a_talent (float talentArr[TALENT_VAR_COUNT], char sl, char subSeg, char seg=0)
void enroll_main_sls (char sl)
void update_student_intake ()

Public Attributes

Preference preference_array [PREFERECNE_COUNT][INSTITU_SEGMENT_COUNT]
Preference2 preference_array2 [SCHOOL_CONTROL_COUNT][MINORITY_GROUP_COUNT][PREFERECNE_COUNT2]
short app_yield_array [STUDENT_SUBSEGMENT_COUNT][STUDENT_SEGMENT_COUNT][INSTITU_SEGMENT_COUNT][APP_YIELD_VAR_COUNT]
Talent talent_array [STUDENT_SUBSEGMENT_COUNT][STUDENT_SEGMENT_COUNT][TALENT_INCOME_VAR_COUNT]
int total_student_count
int student_count [MAX_STUDENT_LEVEL]
float student_female_percent [MAX_STUDENT_LEVEL]
float student_minority_percent [MAX_STUDENT_LEVEL]
int male_matrics_top_athletes
char avg_athletic_talent_male_matrics
char avg_athletic_talent_female_matrics
int matrics_top_athletes
float total_aid
int total_applications [MAX_STUDENT_LEVEL]
int total_offers [MAX_STUDENT_LEVEL]
int total_matrics [MAX_STUDENT_LEVEL]
float applications_rate [MAX_STUDENT_LEVEL]
float cur_yield_rate [MAX_STUDENT_LEVEL]
float offers_rate [MAX_STUDENT_LEVEL]
int talent_average [MAX_STUDENT_LEVEL_N_TOTAL][TALENT_VAR_COUNT]
float overall_yield_rate
float overall_offers_rate
float overall_apps_rate
EnrollDataSL1 enroll_data_sl1 [STUDENT_SUBSEGMENT_COUNT][STUDENT_SEGMENT_COUNT]
EnrollData enroll_data_sls [MAX_STUDENT_LEVEL_NO_SL1][STUDENT_SUBSEGMENT_COUNT]
float app_multiplier [MAX_STUDENT_LEVEL]
float yield_multiplier [MAX_STUDENT_LEVEL]
float fraction_sl1_offered_merit_aid
float fraction_sl2_offered_aid
float fraction_sl5_offered_aid
char minority_aid_special
char athlete_aid_special
char offers_priority [TALENT_VAR_COUNT]
char minority_offers_special
char athlete_offers_special
float fraction_need_covered
bool aid_budget_enforced
int target_student_intake [MAX_STUDENT_LEVEL]
double target_student_intake_ratio [MAX_STUDENT_LEVEL]
int last_year_target_student_intake [MAX_STUDENT_LEVEL]
int overall_percent_minority
int overall_percent_female
int overall_percent_minority_matric
int matric_history [MAX_STUDENT_LEVEL_N_TOTAL][HISTORY_GRAPH_COUNT_GENERAL][HISTORY_YEAR_COUNT]


Detailed Description

Simulates enrollment, including applications, offers, financial aid, and matriculation. Used to get information for comparable schools.

Definition at line 155 of file Oenroll.h.


Constructor & Destructor Documentation

EnrollRes::EnrollRes  
 

Definition at line 89 of file Oenroll.cpp.


Member Function Documentation

void EnrollRes::calc_a_talent float    talentArr[TALENT_VAR_COUNT],
char    sl,
char    subSeg,
char    seg = 0
 

Definition at line 805 of file Oenrolsl.cpp.

References ACADEMIC, STUDENT_SEGMENT_COUNT, STUDENT_SUBSEGMENT_COUNT, TALENT_VAR_COUNT, and UG_TRADITION.

float EnrollRes::calc_an_aid Student   stuPtr
 

note: all income, utility, lower and upper aids in enrollment are adjusted to $1000. The returned value is also in $1000 format!

Definition at line 689 of file Oenrolsl.cpp.

References ACADEMIC, err_when, INCOME, PSCH_SD, SET_HIGH, SET_MID, STUDENT_SEGMENT_ATHLETE, STUDENT_SEGMENT_COUNT, EnrollDataSL1::util, and EnrollDataSL1::util_variance.

void EnrollRes::calc_enroll_applications  
 

----------- Begin of function EnrollRes::calc_enroll_matriculations --------//

Refer to [HE.STU.pref.xls]Sheet1 and techdoc 3.4 section 2.2 & 2.5 and the mathca file HE.EnrMgt.rev.nb: "Traditional Undergraduates: sL-1: Applications: function" and the mathca file HE.EnrMgt.rev.nb: "Traditional Undergraduates: sL-1: Matriculations: function"

The result, in cell R29, will be multiplied by the the base figure calculated per (6) to get the final apps ratio and yield rate for the appropriate gender-ethnic group and institutional type. (from email req11_enroll.txt)

Definition at line 847 of file Oenroll.cpp.

References PeerSchool::pref_vars_average_array, PeerSchool::pref_vars_average_array_last, and PREFERECNE_COUNT2.

void EnrollRes::calc_enroll_matriculations  
 

Definition at line 939 of file Oenroll.cpp.

References EnrollDataSL1::base_yield_rate, enroll_data_sl1, EnrollDataSL1::fraction_matrics, male_matrics_top_athletes, EnrollDataSL1::matrics, matrics_top_athletes, MINORITY, MINORITY_GROUP_COUNT, NON_MINORITY, EnrollDataSL1::offers, PeerSchool::pref_vars_array, PeerSchool::pref_vars_average_array, PREFERECNE_COUNT2, PSCH_SD, sign(), STUDENT_SEGMENT_COUNT, STUDENT_SUBSEGMENT_COUNT, target_student_intake, total_matrics, yield_multiplier, and EnrollDataSL1::yield_rate.

void EnrollRes::calc_enroll_offers  
 

Refer to techdoc 3.4 section 2.3 and the mathca file HE.EnrMgt.rev.nb: "Traditional Undergraduates: sL-1: Admissions"

Definition at line 1112 of file Oenroll.cpp.

References EnrollDataSL1::applications, STUDENT_SEGMENT_COUNT, STUDENT_SUBSEGMENT_COUNT, and EnrollDataSL1::yield_rate.

void EnrollRes::calc_student_count int    initFlag = 0
 

Definition at line 455 of file Oenro_st.cpp.

References DISTANCE_LEARN, err_here, err_when, Student::gender_ethnic_group, StudentArray::is_deleted(), MAX_STUDENT_LEVEL, MINORITY_FEMALE, MINORITY_MALE, NONMINORITY_FEMALE, NONMINORITY_MALE, overall_percent_female, overall_percent_minority, DynArray::size(), student_count, student_female_percent, Student::student_level, student_minority_percent, total_student_count, and UG_TRADITION.

void EnrollRes::deinit  
 

Definition at line 143 of file Oenroll.cpp.

void EnrollRes::enroll_main int    initFlag = 0
 

enrollment management model: run at the begining of each academic year

[int] initFlag=0 by default

Definition at line 1996 of file Oenroll.cpp.

References MAX_STUDENT_LEVEL, and UG_NONTRADITION.

void EnrollRes::enroll_main_sls char    sl
 

called yearly for sl2-5

Definition at line 374 of file Oenrolsl.cpp.

References EnrollData::conversion_rate, and STUDENT_SUBSEGMENT_COUNT.

void EnrollRes::init  
 

Definition at line 116 of file Oenroll.cpp.

void EnrollRes::init_data  
 

must run after school_res.build_peer_school_array()

player_school.generate_student() will calc student count and fin aid so that method should be called BEFORE this one

Definition at line 1950 of file Oenroll.cpp.

void EnrollRes::next_day  
 

Definition at line 210 of file Oenro_st.cpp.

References update_history(), and update_student_intake().

int EnrollRes::read_file File   filePtr
 

Definition at line 238 of file OGFILE3.CPP.

References File::file_read().

void EnrollRes::set_app_yield float    appMultipler,
float    yieldMultiplier
 

Definition at line 609 of file Oenroll.cpp.

References EnrollDataSL1::apps_ratio, enroll_data_sl1, STUDENT_SEGMENT_COUNT, STUDENT_SUBSEGMENT_COUNT, and EnrollDataSL1::yield_rate.

void EnrollRes::update_enroll_history char    noShift = 0
 

update time-series graphs for interface display

Definition at line 39 of file Oenro_st.cpp.

References err_when, and MAX_STUDENT_LEVEL.

void EnrollRes::update_history char    update_flag
 

update history arrays

update_flag = UPDATE_TRIMESTER, UPDATE_MONTH, UPDATE_YEAR; (ooffice.h)

Definition at line 426 of file Oenro_st.cpp.

References err_here.

Referenced by next_day().

void EnrollRes::update_student_intake  
 

Definition at line 240 of file Oenro_st.cpp.

References DEGREE_TYPE_COUNT, err_when, StudentArray::is_deleted(), DynArray::size(), GeneralDepartment::student_array, and Student::student_level.

Referenced by next_day().

int EnrollRes::write_file File   filePtr
 

Definition at line 234 of file OGFILE3.CPP.

References File::file_write().


Member Data Documentation

bool EnrollRes::aid_budget_enforced
 

Definition at line 354 of file Oenroll.h.

float EnrollRes::app_multiplier[MAX_STUDENT_LEVEL]
 

Definition at line 320 of file Oenroll.h.

short EnrollRes::app_yield_array[STUDENT_SUBSEGMENT_COUNT][STUDENT_SEGMENT_COUNT][INSTITU_SEGMENT_COUNT][APP_YIELD_VAR_COUNT]
 

Definition at line 160 of file Oenroll.h.

float EnrollRes::applications_rate[MAX_STUDENT_LEVEL]
 

Definition at line 227 of file Oenroll.h.

char EnrollRes::athlete_aid_special
 

Definition at line 342 of file Oenroll.h.

char EnrollRes::athlete_offers_special
 

Definition at line 347 of file Oenroll.h.

char EnrollRes::avg_athletic_talent_female_matrics
 

Definition at line 219 of file Oenroll.h.

char EnrollRes::avg_athletic_talent_male_matrics
 

Definition at line 218 of file Oenroll.h.

float EnrollRes::cur_yield_rate[MAX_STUDENT_LEVEL]
 

Definition at line 227 of file Oenroll.h.

EnrollDataSL1 EnrollRes::enroll_data_sl1[STUDENT_SUBSEGMENT_COUNT][STUDENT_SEGMENT_COUNT]
 

Definition at line 255 of file Oenroll.h.

Referenced by calc_enroll_matriculations(), and set_app_yield().

EnrollData EnrollRes::enroll_data_sls[MAX_STUDENT_LEVEL_NO_SL1][STUDENT_SUBSEGMENT_COUNT]
 

Definition at line 256 of file Oenroll.h.

float EnrollRes::fraction_need_covered
 

Definition at line 353 of file Oenroll.h.

float EnrollRes::fraction_sl1_offered_merit_aid
 

Definition at line 338 of file Oenroll.h.

float EnrollRes::fraction_sl2_offered_aid
 

Definition at line 339 of file Oenroll.h.

float EnrollRes::fraction_sl5_offered_aid
 

Definition at line 340 of file Oenroll.h.

int EnrollRes::last_year_target_student_intake[MAX_STUDENT_LEVEL]
 

Definition at line 361 of file Oenroll.h.

int EnrollRes::male_matrics_top_athletes
 

Definition at line 217 of file Oenroll.h.

Referenced by calc_enroll_matriculations().

int EnrollRes::matric_history[MAX_STUDENT_LEVEL_N_TOTAL][HISTORY_GRAPH_COUNT_GENERAL][HISTORY_YEAR_COUNT]
 

Definition at line 375 of file Oenroll.h.

int EnrollRes::matrics_top_athletes
 

Definition at line 222 of file Oenroll.h.

Referenced by calc_enroll_matriculations().

char EnrollRes::minority_aid_special
 

Definition at line 341 of file Oenroll.h.

char EnrollRes::minority_offers_special
 

Definition at line 346 of file Oenroll.h.

char EnrollRes::offers_priority[TALENT_VAR_COUNT]
 

Definition at line 345 of file Oenroll.h.

float EnrollRes::offers_rate[MAX_STUDENT_LEVEL]
 

Definition at line 228 of file Oenroll.h.

float EnrollRes::overall_apps_rate
 

Definition at line 232 of file Oenroll.h.

float EnrollRes::overall_offers_rate
 

Definition at line 232 of file Oenroll.h.

int EnrollRes::overall_percent_female
 

Definition at line 369 of file Oenroll.h.

Referenced by calc_student_count().

int EnrollRes::overall_percent_minority
 

Definition at line 368 of file Oenroll.h.

Referenced by calc_student_count().

int EnrollRes::overall_percent_minority_matric
 

Definition at line 374 of file Oenroll.h.

float EnrollRes::overall_yield_rate
 

Definition at line 232 of file Oenroll.h.

Preference EnrollRes::preference_array[PREFERECNE_COUNT][INSTITU_SEGMENT_COUNT]
 

Definition at line 158 of file Oenroll.h.

Preference2 EnrollRes::preference_array2[SCHOOL_CONTROL_COUNT][MINORITY_GROUP_COUNT][PREFERECNE_COUNT2]
 

Definition at line 159 of file Oenroll.h.

int EnrollRes::student_count[MAX_STUDENT_LEVEL]
 

Definition at line 199 of file Oenroll.h.

Referenced by calc_student_count().

float EnrollRes::student_female_percent[MAX_STUDENT_LEVEL]
 

Definition at line 200 of file Oenroll.h.

Referenced by calc_student_count().

float EnrollRes::student_minority_percent[MAX_STUDENT_LEVEL]
 

Definition at line 201 of file Oenroll.h.

Referenced by calc_student_count().

Talent EnrollRes::talent_array[STUDENT_SUBSEGMENT_COUNT][STUDENT_SEGMENT_COUNT][TALENT_INCOME_VAR_COUNT]
 

Definition at line 161 of file Oenroll.h.

int EnrollRes::talent_average[MAX_STUDENT_LEVEL_N_TOTAL][TALENT_VAR_COUNT]
 

Definition at line 230 of file Oenroll.h.

int EnrollRes::target_student_intake[MAX_STUDENT_LEVEL]
 

Definition at line 357 of file Oenroll.h.

Referenced by calc_enroll_matriculations().

double EnrollRes::target_student_intake_ratio[MAX_STUDENT_LEVEL]
 

Definition at line 359 of file Oenroll.h.

float EnrollRes::total_aid
 

Definition at line 223 of file Oenroll.h.

int EnrollRes::total_applications[MAX_STUDENT_LEVEL]
 

Definition at line 224 of file Oenroll.h.

int EnrollRes::total_matrics[MAX_STUDENT_LEVEL]
 

Definition at line 224 of file Oenroll.h.

Referenced by calc_enroll_matriculations().

int EnrollRes::total_offers[MAX_STUDENT_LEVEL]
 

Definition at line 224 of file Oenroll.h.

int EnrollRes::total_student_count
 

Definition at line 198 of file Oenroll.h.

Referenced by calc_student_count().

float EnrollRes::yield_multiplier[MAX_STUDENT_LEVEL]
 

Definition at line 320 of file Oenroll.h.

Referenced by calc_enroll_matriculations().


The documentation for this class was generated from the following files:
Generated on Fri Aug 23 01:39:07 2002 for VirtualU by doxygen1.2.17